diff options
author | Maan2003 <[email protected]> | 2021-06-13 05:10:22 +0100 |
---|---|---|
committer | Maan2003 <[email protected]> | 2021-06-13 05:10:22 +0100 |
commit | aabd41cafc1a79f5ad124a31a360ab0442c13efd (patch) | |
tree | 584a7f437204904fcf23b55e201cb27323790b02 /crates/ide_ssr/src | |
parent | b857a5dcf094728b4beefd652ea31d2828eb0e10 (diff) |
clippy::redundant_field_names
Diffstat (limited to 'crates/ide_ssr/src')
-rw-r--r-- | crates/ide_ssr/src/tests.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ide_ssr/src/tests.rs b/crates/ide_ssr/src/tests.rs index 5dd0d600f..444c6b0af 100644 --- a/crates/ide_ssr/src/tests.rs +++ b/crates/ide_ssr/src/tests.rs | |||
@@ -75,7 +75,7 @@ pub(crate) fn single_file(code: &str) -> (ide_db::RootDatabase, FilePosition, Ve | |||
75 | match range_or_offset { | 75 | match range_or_offset { |
76 | RangeOrOffset::Range(range) => { | 76 | RangeOrOffset::Range(range) => { |
77 | position = FilePosition { file_id, offset: range.start() }; | 77 | position = FilePosition { file_id, offset: range.start() }; |
78 | selections = vec![FileRange { file_id, range: range }]; | 78 | selections = vec![FileRange { file_id, range }]; |
79 | } | 79 | } |
80 | RangeOrOffset::Offset(offset) => { | 80 | RangeOrOffset::Offset(offset) => { |
81 | position = FilePosition { file_id, offset }; | 81 | position = FilePosition { file_id, offset }; |