Use .to_owned() instead of .to_string() to turn &str into String (#548)

This commit is contained in:
Jonas Platte
2021-11-19 22:15:47 +00:00
committed by GitHub
parent ab9f1ef993
commit 69fee5864d
6 changed files with 8 additions and 5 deletions
+1
View File
@@ -109,6 +109,7 @@
clippy::option_option,
clippy::verbose_file_reads,
clippy::unnested_or_patterns,
clippy::str_to_string,
rust_2018_idioms,
future_incompatible,
nonstandard_style,