From aabd41cafc1a79f5ad124a31a360ab0442c13efd Mon Sep 17 00:00:00 2001 From: Maan2003 Date: Sun, 13 Jun 2021 09:40:22 +0530 Subject: clippy::redundant_field_names --- crates/ide_ssr/src/tests.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crates/ide_ssr') 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 match range_or_offset { RangeOrOffset::Range(range) => { position = FilePosition { file_id, offset: range.start() }; - selections = vec![FileRange { file_id, range: range }]; + selections = vec![FileRange { file_id, range }]; } RangeOrOffset::Offset(offset) => { position = FilePosition { file_id, offset }; -- cgit v1.2.3