mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-26 13:03:31 +00:00
wording
This commit is contained in:
parent
3f82989153
commit
04f2eb0fba
1 changed files with 1 additions and 1 deletions
|
@ -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)]
|
||||
|
|
Loading…
Reference in a new issue