diff options
| author | Davis Silverman <sinistersnare@gmail.com> | 2014-11-20 00:15:15 -0500 |
|---|---|---|
| committer | Davis Silverman <sinistersnare@gmail.com> | 2014-11-20 00:15:15 -0500 |
| commit | f36ebb0eaaedf116bc9e663b9fe2246719b09268 (patch) | |
| tree | 5f944e5e23bc6e820ccfc2cfc5de0b4cf1eee880 /src/libsyntax | |
| parent | 793624261a221aa4592381fa8067e1f597b90c22 (diff) | |
| download | rust-f36ebb0eaaedf116bc9e663b9fe2246719b09268.tar.gz rust-f36ebb0eaaedf116bc9e663b9fe2246719b09268.zip | |
fixed markdown rendering a H1 in comment
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 |
