about summary refs log tree commit diff
path: root/src/tools/rust-analyzer
diff options
context:
space:
mode:
authorvremyavnikuda <andrew.nevsky@yandex.ru>2025-05-25 15:55:58 +0700
committervremyavnikuda <andrew.nevsky@yandex.ru>2025-05-26 15:51:50 +0700
commit1e8eacd192022cd0bd8c90101569b32397722122 (patch)
tree6d1ba79e26c0086d455d3f6af0d4a946e09f3857 /src/tools/rust-analyzer
parent44612c5f9cbd21ebe60dab93f3c536084c4bf495 (diff)
downloadrust-1e8eacd192022cd0bd8c90101569b32397722122.tar.gz
rust-1e8eacd192022cd0bd8c90101569b32397722122.zip
fix: the lines are formatted according to clippy
Diffstat (limited to 'src/tools/rust-analyzer')
-rw-r--r--src/tools/rust-analyzer/crates/ide/src/references.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tools/rust-analyzer/crates/ide/src/references.rs b/src/tools/rust-analyzer/crates/ide/src/references.rs
index 91f4d752c8d..f7f00cf8317 100644
--- a/src/tools/rust-analyzer/crates/ide/src/references.rs
+++ b/src/tools/rust-analyzer/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,