]> 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 2741565e50d67a58523a1f339bba1f3654a0b111..acdc55aa0d69d65002753cd11c92fe6300ff60b4 100644 (file)
@@ -2,7 +2,6 @@
 #![deny(clippy::inefficient_to_string)]
 
 use std::borrow::Cow;
-use std::string::ToString;
 
 fn main() {
     let rstr: &str = "hello";