about summary refs log tree commit diff
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2014-11-22 12:46:37 +0000
committerbors <bors@rust-lang.org>2014-11-22 12:46:37 +0000
commit4389ee3893c82fc2b6b33eeb5555cc1744f6da4a (patch)
treefce7f6078d9abd1749dbbd08fbf11c01115fbf66
parentacfdb14044bc5a8320536d19c381fb9c04420e3b (diff)
parentf36ebb0eaaedf116bc9e663b9fe2246719b09268 (diff)
downloadrust-4389ee3893c82fc2b6b33eeb5555cc1744f6da4a.tar.gz
rust-4389ee3893c82fc2b6b33eeb5555cc1744f6da4a.zip
auto merge of #19132 : sinistersnare/rust/patch-1, r=alexcrichton
Just used Githubs edit view, so I hope this works...
-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