about summary refs log tree commit diff
path: root/src/libsyntax
diff options
context:
space:
mode:
authorDavis Silverman <sinistersnare@gmail.com>2014-11-20 00:15:15 -0500
committerDavis Silverman <sinistersnare@gmail.com>2014-11-20 00:15:15 -0500
commitf36ebb0eaaedf116bc9e663b9fe2246719b09268 (patch)
tree5f944e5e23bc6e820ccfc2cfc5de0b4cf1eee880 /src/libsyntax
parent793624261a221aa4592381fa8067e1f597b90c22 (diff)
downloadrust-f36ebb0eaaedf116bc9e663b9fe2246719b09268.tar.gz
rust-f36ebb0eaaedf116bc9e663b9fe2246719b09268.zip
fixed markdown rendering a H1 in comment
Diffstat (limited to 'src/libsyntax')
-rw-r--r--src/libsyntax/attr.rs4
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