mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-09-23 08:01:55 +00:00
fix markdown generated from code
This commit is contained in:
parent
6f5c747324
commit
0a3ab78bde
2 changed files with 2 additions and 2 deletions
|
@ -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 {
|
||||||
|
|
|
@ -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)"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue