File tree 1 file changed +2
-3
lines changed
1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -179,7 +179,6 @@ macro_rules! smallvec {
179
179
} ) ;
180
180
}
181
181
182
-
183
182
/// Creates an inline [`SmallVec`] containing the arguments. This macro is enabled by the feature `const_new`.
184
183
///
185
184
/// `smallvec_inline!` allows `SmallVec`s to be defined with the same syntax as array expressions in `const` contexts.
@@ -2032,7 +2031,7 @@ impl<'a> Drop for SetLenOnDrop<'a> {
2032
2031
#[ cfg( feature = "const_new" ) ]
2033
2032
impl < T , const N : usize > SmallVec < [ T ; N ] > {
2034
2033
/// Construct an empty vector.
2035
- ///
2034
+ ///
2036
2035
/// This is a `const` version of [`SmallVec::new`] that is enabled by the feature `const_new`, with the limitation that it only works for arrays.
2037
2036
#[ cfg_attr( docsrs, doc( cfg( feature = "const_new" ) ) ) ]
2038
2037
#[ inline]
@@ -2044,7 +2043,7 @@ impl<T, const N: usize> SmallVec<[T; N]> {
2044
2043
}
2045
2044
2046
2045
/// The array passed as an argument is moved to be an inline version of `SmallVec`.
2047
- ///
2046
+ ///
2048
2047
/// This is a `const` version of [`SmallVec::from_buf`] that is enabled by the feature `const_new`, with the limitation that it only works for arrays.
2049
2048
#[ cfg_attr( docsrs, doc( cfg( feature = "const_new" ) ) ) ]
2050
2049
#[ inline]
You can’t perform that action at this time.
0 commit comments