commit | 42f5029fee7ec1df199e8c1f77efaa2c45ab3def | [log] [tgz] |
---|---|---|
author | David Tolnay <dtolnay@gmail.com> | Sun Sep 04 13:54:21 2016 -0700 |
committer | David Tolnay <dtolnay@gmail.com> | Sun Sep 04 13:54:21 2016 -0700 |
tree | 9d9feb5fc4075243f713dad01e9392864acd736b | |
parent | 94ebdf913b78426e887fa5565c59a11ab06fc031 [diff] [blame] |
Newtype ident
diff --git a/src/attr.rs b/src/attr.rs index d2d78ed..7d7557c 100644 --- a/src/attr.rs +++ b/src/attr.rs
@@ -50,7 +50,7 @@ content: take_until_s!("\n") >> (Attribute { value: MetaItem::NameValue( - "doc".to_string(), + "doc".into(), format!("///{}{}", space, content), ), is_sugared_doc: true,