Normalize lint messages

This commit is contained in:
Yuki Okushi 2020-01-06 15:30:43 +09:00
parent fdccfe7bca
commit 5ac08b0cc9
45 changed files with 133 additions and 127 deletions

View file

@ -35,7 +35,7 @@ declare_clippy_lint! {
/// ```
pub UNNECESSARY_UNWRAP,
complexity,
"checks for calls of unwrap[_err]() that cannot fail"
"checks for calls of `unwrap[_err]()` that cannot fail"
}
declare_clippy_lint! {
@ -58,7 +58,7 @@ declare_clippy_lint! {
/// This code will always panic. The if condition should probably be inverted.
pub PANICKING_UNWRAP,
correctness,
"checks for calls of unwrap[_err]() that will always fail"
"checks for calls of `unwrap[_err]()` that will always fail"
}
/// Visitor that keeps track of which variables are unwrappable.