no_inline for index vec

This commit is contained in:
Giang Dao 2024-09-20 23:30:31 +08:00
parent 2f6b0618b2
commit ff86fa50fb

View File

@ -17,6 +17,7 @@ mod vec;
pub use idx::Idx; pub use idx::Idx;
pub use rustc_index_macros::newtype_index; pub use rustc_index_macros::newtype_index;
pub use slice::IndexSlice; pub use slice::IndexSlice;
#[doc(no_inline)]
pub use vec::IndexVec; pub use vec::IndexVec;
/// Type size assertion. The first argument is a type and the second argument is its expected size. /// Type size assertion. The first argument is a type and the second argument is its expected size.