fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
392 B12 linesraw
1error: `to_string()` called on a `String`
2  --> $DIR/string_to_string.rs:6:17
3   |
4LL |     let mut v = message.to_string();
5   |                 ^^^^^^^^^^^^^^^^^^^
6   |
7   = help: consider using `.clone()`
8   = note: `-D clippy::string-to-string` implied by `-D warnings`
9   = help: to override `-D warnings` add `#[allow(clippy::string_to_string)]`
10
11error: aborting due to previous error
12