]> git.lizzy.rs Git - rust.git/blobdiff - tests/ui/manual_str_repeat.fixed
Auto merge of #9684 - kraktus:ref_option_ref, r=xFrednet
[rust.git] / tests / ui / manual_str_repeat.fixed
index dc140257f32108c9c4c48d84578481b54d641dcf..0704ba2f933eb774dd91fedab659bec8ae1e1fcb 100644 (file)
@@ -4,7 +4,7 @@
 #![warn(clippy::manual_str_repeat)]
 
 use std::borrow::Cow;
-use std::iter::{repeat, FromIterator};
+use std::iter::repeat;
 
 fn main() {
     let _: String = "test".repeat(10);