We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents acfdb14 + f36ebb0 commit 4389ee3Copy full SHA for 4389ee3
src/libsyntax/attr.rs
@@ -47,8 +47,8 @@ pub trait AttrMetaMethods {
47
name == self.name().get()
48
}
49
50
- /// Retrieve the name of the meta item, e.g. foo in #[foo],
51
- /// #[foo="bar"] and #[foo(bar)]
+ /// Retrieve the name of the meta item, e.g. `foo` in `#[foo]`,
+ /// `#[foo="bar"]` and `#[foo(bar)]`
52
fn name(&self) -> InternedString;
53
54
/// Gets the string value if self is a MetaNameValue variant
0 commit comments