]> git.lizzy.rs Git - rust.git/commitdiff
wording
authorAnatol Ulrich <anatol.ulrich@ferrous-systems.com>
Tue, 26 Oct 2021 18:10:09 +0000 (20:10 +0200)
committerAnatol Ulrich <anatol.ulrich@ferrous-systems.com>
Tue, 26 Oct 2021 18:10:09 +0000 (20:10 +0200)
crates/ide/src/expand_macro.rs

index fd9d1ff45667e8de34a8e3b0650a12f441fd9dce..8feaa3b7be95a9d0b578c15e3a699c5407883cc3 100644 (file)
@@ -33,7 +33,7 @@ pub(crate) fn expand_macro(db: &RootDatabase, position: FilePosition) -> Option<
     })?;
 
     // due to how Rust Analyzer works internally, we need to special case derive attributes,
-    // otherwise they might not get found, e.g. here only `#[attr]` would expand:
+    // otherwise they might not get found, e.g. here with the cursor at $0 `#[attr]` would expand:
     // ```
     // #[attr]
     // #[derive($0Foo)]