Skip to content

Commit 8320871

Browse files
committed
rustfmt
1 parent 8973eab commit 8320871

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/lib.rs

+2-3
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,6 @@ macro_rules! smallvec {
179179
});
180180
}
181181

182-
183182
/// Creates an inline [`SmallVec`] containing the arguments. This macro is enabled by the feature `const_new`.
184183
///
185184
/// `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> {
20322031
#[cfg(feature = "const_new")]
20332032
impl<T, const N: usize> SmallVec<[T; N]> {
20342033
/// Construct an empty vector.
2035-
///
2034+
///
20362035
/// 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.
20372036
#[cfg_attr(docsrs, doc(cfg(feature = "const_new")))]
20382037
#[inline]
@@ -2044,7 +2043,7 @@ impl<T, const N: usize> SmallVec<[T; N]> {
20442043
}
20452044

20462045
/// The array passed as an argument is moved to be an inline version of `SmallVec`.
2047-
///
2046+
///
20482047
/// 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.
20492048
#[cfg_attr(docsrs, doc(cfg(feature = "const_new")))]
20502049
#[inline]

0 commit comments

Comments
 (0)