don't clone types that are copy (clippy::clone_on_copy)

This commit is contained in:
Matthias Krüger 2021-03-17 01:56:31 +01:00
parent c5d654d513
commit 048dad8c2e
12 changed files with 18 additions and 28 deletions

View file

@ -56,7 +56,7 @@ pub(super) fn ra_fixture(
for range in inj.map_range_up(hl_range.range) {
if let Some(range) = literal.map_range_up(range) {
hl_range.range = range;
hl.add(hl_range.clone());
hl.add(hl_range);
}
}
}