From f36ebb0eaaedf116bc9e663b9fe2246719b09268 Mon Sep 17 00:00:00 2001 From: Davis Silverman Date: Thu, 20 Nov 2014 00:15:15 -0500 Subject: [PATCH] fixed markdown rendering a H1 in comment --- src/libsyntax/attr.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/libsyntax/attr.rs b/src/libsyntax/attr.rs index 12a3bd899019..42fdb50f87a8 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