blob: 1ebd17999bd8ffae49af1238cb617fb62972ce7b (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
error: `to_string()` called on a `String`
--> $DIR/string_to_string.rs:6:17
|
LL | let mut v = message.to_string();
| ^^^^^^^^^^^^^^^^^^^
|
= note: `-D clippy::string-to-string` implied by `-D warnings`
= help: consider using `.clone()`
error: aborting due to previous error
|