Unnamed repository; edit this file 'description' to name the repository.
fix: the lines are formatted according to clippy
vremyavnikuda 11 months ago
parent 82edbbc · commit 0902094
-rw-r--r--crates/ide/src/references.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/ide/src/references.rs b/crates/ide/src/references.rs
index 91f4d752c8..f7f00cf831 100644
--- a/crates/ide/src/references.rs
+++ b/crates/ide/src/references.rs
@@ -15,7 +15,7 @@
//! - `(` for tuple structs/variants
//! - `;` for unit structs
//! - The type name in a struct/enum/variant definition
-//! Then only constructor/initialization usages will be shown, filtering out other references.
+//! Then only constructor/initialization usages will be shown, filtering out other references.
use hir::{PathResolution, Semantics};
use ide_db::{
@@ -105,7 +105,7 @@ pub struct Declaration {
/// - `(` after tuple struct/variant: Shows tuple literal initializations
/// - `;` after unit struct: Shows unit literal initializations
/// - Type name in definition: Shows all initialization usages
-/// In these cases, other kinds of references (like type references) are filtered out.
+/// In these cases, other kinds of references (like type references) are filtered out.
pub(crate) fn find_all_refs(
sema: &Semantics<'_, RootDatabase>,
position: FilePosition,