]> git.lizzy.rs Git - rust.git/blobdiff - tests/ui/inefficient_to_string.rs
Fix `unnecessary_cast` suggestion when taking a reference
[rust.git] / tests / ui / inefficient_to_string.rs
index a9f8f244c19a54a5942a9012c4f91e35fe6d8412..acdc55aa0d69d65002753cd11c92fe6300ff60b4 100644 (file)
@@ -1,7 +1,7 @@
+// run-rustfix
 #![deny(clippy::inefficient_to_string)]
 
 use std::borrow::Cow;
-use std::string::ToString;
 
 fn main() {
     let rstr: &str = "hello";