mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-27 05:23:24 +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,
|
// 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]
|
// #[attr]
|
||||||
// #[derive($0Foo)]
|
// #[derive($0Foo)]
|
||||||
|
|
Loading…
Reference in a new issue