]> git.lizzy.rs Git - rust.git/blob - src/tools/clippy/tests/ui/string_to_string.rs
Auto merge of #101969 - reez12g:issue-101306, r=reez12g
[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 }