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