Normalize lint messages

This commit is contained in:
Yuki Okushi 2020-01-06 15:30:43 +09:00
parent fdccfe7bca
commit 5ac08b0cc9
45 changed files with 133 additions and 127 deletions

View file

@ -112,7 +112,7 @@ fn lint_needless_cloning(cx: &LateContext<'_, '_>, root: Span, receiver: Span) {
MAP_CLONE,
root.trim_start(receiver).unwrap(),
"You are needlessly cloning iterator elements",
"Remove the map call",
"Remove the `map` call",
String::new(),
Applicability::MachineApplicable,
)