typos: coma -> comma
This commit is contained in:
parent
c76517d6c4
commit
84509ca48a
@ -56,7 +56,7 @@ declare_lint! {
|
||||
/// **Example:**
|
||||
/// ```rust,ignore
|
||||
/// let a = &[
|
||||
/// -1, -2, -3 // <= no coma here
|
||||
/// -1, -2, -3 // <= no comma here
|
||||
/// -4, -5, -6
|
||||
/// ];
|
||||
/// ```
|
||||
|
@ -99,13 +99,13 @@ fn main() {
|
||||
|
||||
// possible missing comma in an array
|
||||
let _ = &[
|
||||
-1, -2, -3 // <= no coma here
|
||||
-1, -2, -3 // <= no comma here
|
||||
|
||||
|
||||
-4, -5, -6
|
||||
];
|
||||
let _ = &[
|
||||
-1, -2, -3 // <= no coma here
|
||||
-1, -2, -3 // <= no comma here
|
||||
|
||||
|
||||
*4, -5, -6
|
||||
|
@ -92,7 +92,7 @@ error: this looks like you are trying to use `.. != ..`, but you really are doin
|
||||
error: possibly missing a comma here
|
||||
--> $DIR/formatting.rs:102:19
|
||||
|
|
||||
102 | -1, -2, -3 // <= no coma here
|
||||
102 | -1, -2, -3 // <= no comma here
|
||||
| ^
|
||||
|
|
||||
= note: #[deny(possible_missing_comma)] implied by #[deny(clippy)]
|
||||
@ -106,7 +106,7 @@ note: lint level defined here
|
||||
error: possibly missing a comma here
|
||||
--> $DIR/formatting.rs:108:19
|
||||
|
|
||||
108 | -1, -2, -3 // <= no coma here
|
||||
108 | -1, -2, -3 // <= no comma here
|
||||
| ^
|
||||
|
|
||||
= note: #[deny(possible_missing_comma)] implied by #[deny(clippy)]
|
||||
|
Loading…
Reference in New Issue
Block a user