Description
.map(|x| x.clone()) is equivalent to calling .cloned(), which is more readable.
Occurrences
There is 1 occurrence of this issue in the repository.
See all occurrences on DeepSource → app.deepsource.com/gh/JarekToro/tunnyd/issue/RS-W1206/occurrences/
Description
.map(|x| x.clone())is equivalent to calling.cloned(), which is more readable.Occurrences
There is 1 occurrence of this issue in the repository.
See all occurrences on DeepSource → app.deepsource.com/gh/JarekToro/tunnyd/issue/RS-W1206/occurrences/