field_reassign_with_default

This commit is contained in:
Johann Hemmann 2024-01-22 02:15:29 +01:00
parent dd9f27b8d3
commit 04ccef80cb
8 changed files with 18 additions and 16 deletions

View file

@ -120,6 +120,7 @@ pub(crate) fn hover(
Some(res)
}
#[allow(clippy::field_reassign_with_default)]
fn hover_simple(
sema: &Semantics<'_, RootDatabase>,
FilePosition { file_id, offset }: FilePosition,