This commit is contained in:
Anatol Ulrich 2021-10-26 20:10:09 +02:00
parent 3f82989153
commit 04f2eb0fba

View 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)]