auto merge of #19132 : sinistersnare/rust/patch-1, r=alexcrichton
Just used Githubs edit view, so I hope this works...
This commit is contained in:
commit
4389ee3893
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue