Fix clippy::trivially-copy-pass-by-ref (pedantic) (#862)

This commit is contained in:
Anders Kaseorg
2022-11-21 12:59:51 -08:00
committed by GitHub
parent 6b9e57fb78
commit 58949b564e
18 changed files with 53 additions and 53 deletions

View File

@@ -1603,8 +1603,8 @@ pub enum Context {
pub fn ambiguous_unicode_character(
locator: &SourceCodeLocator,
start: &Location,
end: &Location,
start: Location,
end: Location,
context: Context,
settings: &Settings,
autofix: &fixer::Mode,
@@ -1612,8 +1612,8 @@ pub fn ambiguous_unicode_character(
let mut checks = vec![];
let text = locator.slice_source_code_range(&Range {
location: *start,
end_location: *end,
location: start,
end_location: end,
});
let mut col_offset = 0;