mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-01 11:31:15 +00:00
wording
This commit is contained in:
parent
3f82989153
commit
04f2eb0fba
@ -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…
x
Reference in New Issue
Block a user