]> git.lizzy.rs Git - rust.git/blobdiff - src/tools/clippy/tests/ui/iter_nth_zero.fixed
Auto merge of #96080 - nikic:ranlib, r=Mark-Simulacrum
[rust.git] / src / tools / clippy / tests / ui / iter_nth_zero.fixed
index b54147c94d192bea1c3ec58030aebd824b4f9bf2..f23671c26e4cc55b43615564d8fd28148b3a6a98 100644 (file)
@@ -3,7 +3,7 @@
 #![warn(clippy::iter_nth_zero)]
 use std::collections::HashSet;
 
-struct Foo {}
+struct Foo;
 
 impl Foo {
     fn nth(&self, index: usize) -> usize {