]> git.lizzy.rs Git - rust.git/blob - src/tools/clippy/tests/ui/string_to_string.rs
Auto merge of #79387 - woodruffw-forks:ww/peer-cred-pid-macos, r=Amanieu
[rust.git] / src / tools / clippy / tests / ui / string_to_string.rs
1 #![warn(clippy::string_to_string)]
2 #![allow(clippy::redundant_clone)]
3
4 fn main() {
5     let mut message = String::from("Hello");
6     let mut v = message.to_string();
7 }