diff options
Diffstat (limited to 'src/libsyntax')
| -rw-r--r-- | src/libsyntax/attr.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libsyntax/attr.rs b/src/libsyntax/attr.rs index 12a3bd89901..42fdb50f87a 100644 --- a/src/libsyntax/attr.rs +++ b/src/libsyntax/attr.rs @@ -47,8 +47,8 @@ pub trait AttrMetaMethods { name == self.name().get() } - /// Retrieve the name of the meta item, e.g. foo in #[foo], - /// #[foo="bar"] and #[foo(bar)] + /// Retrieve the name of the meta item, e.g. `foo` in `#[foo]`, + /// `#[foo="bar"]` and `#[foo(bar)]` fn name(&self) -> InternedString; /// Gets the string value if self is a MetaNameValue variant |
