]> git.lizzy.rs Git - rust.git/blob - src/tools/clippy/tests/ui/string_to_string.rs
Rollup merge of #101229 - mgeisler:link-try-operator, r=thomcc
[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 }