fix markdown generated from code

This commit is contained in:
Oliver Schneider 2016-05-06 16:09:05 +02:00
parent 6f5c747324
commit 0a3ab78bde
No known key found for this signature in database
GPG key ID: 56D6EEA0FC67AC46
2 changed files with 2 additions and 2 deletions

View file

@ -31,7 +31,7 @@ pub struct EscapePass;
/// } /// }
/// ``` /// ```
declare_lint! { declare_lint! {
pub BOXED_LOCAL, Warn, "using Box<T> where unnecessary" pub BOXED_LOCAL, Warn, "using `Box<T>` where unnecessary"
} }
fn is_non_trait_box(ty: ty::Ty) -> bool { fn is_non_trait_box(ty: ty::Ty) -> bool {

View file

@ -40,7 +40,7 @@ declare_lint! {
declare_lint! { declare_lint! {
pub UNICODE_NOT_NFC, Allow, pub UNICODE_NOT_NFC, Allow,
"using a unicode literal not in NFC normal form (see \ "using a unicode literal not in NFC normal form (see \
http://www.unicode.org/reports/tr15/ for further information)" [unicode tr15](http://www.unicode.org/reports/tr15/) for further information)"
} }