diff --git a/src/escape.rs b/src/escape.rs index fa235244884..ff841b18066 100644 --- a/src/escape.rs +++ b/src/escape.rs @@ -31,7 +31,7 @@ pub struct EscapePass; /// } /// ``` declare_lint! { - pub BOXED_LOCAL, Warn, "using Box where unnecessary" + pub BOXED_LOCAL, Warn, "using `Box` where unnecessary" } fn is_non_trait_box(ty: ty::Ty) -> bool { diff --git a/src/unicode.rs b/src/unicode.rs index 26521017ee5..8271fd3ed66 100644 --- a/src/unicode.rs +++ b/src/unicode.rs @@ -40,7 +40,7 @@ declare_lint! { declare_lint! { pub UNICODE_NOT_NFC, Allow, "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)" }