From 8320871d602b4d14bb0056143a8a476661cbdd5a Mon Sep 17 00:00:00 2001 From: TimLuq Date: Sun, 26 Sep 2021 12:19:10 +0200 Subject: [PATCH] rustfmt --- src/lib.rs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index 95538f8..ba9cd78 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -179,7 +179,6 @@ macro_rules! smallvec { }); } - /// Creates an inline [`SmallVec`] containing the arguments. This macro is enabled by the feature `const_new`. /// /// `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> { #[cfg(feature = "const_new")] impl SmallVec<[T; N]> { /// Construct an empty vector. - /// + /// /// 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. #[cfg_attr(docsrs, doc(cfg(feature = "const_new")))] #[inline] @@ -2044,7 +2043,7 @@ impl SmallVec<[T; N]> { } /// The array passed as an argument is moved to be an inline version of `SmallVec`. - /// + /// /// 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. #[cfg_attr(docsrs, doc(cfg(feature = "const_new")))] #[inline]