We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
reversed_empty_ranges
1 parent 0740695 commit d855c70Copy full SHA for d855c70
src/slice.rs
@@ -867,12 +867,16 @@ macro_rules! s(
867
)
868
};
869
($($t:tt)*) => {
870
- $crate::s![@parse
871
- ::core::marker::PhantomData::<$crate::Ix0>,
872
873
- []
874
- $($t)*
875
- ]
+ {
+ #[allow(clippy::reversed_empty_ranges)]
+ let slice = $crate::s![@parse
+ ::core::marker::PhantomData::<$crate::Ix0>,
+ []
876
+ $($t)*
877
+ ];
878
+ slice
879
+ }
880
881
);
882
0 commit comments