typos: coma -> comma

This commit is contained in:
Ben Boeckel 2017-02-16 11:23:28 -05:00
parent c76517d6c4
commit 84509ca48a
3 changed files with 5 additions and 5 deletions

View File

@ -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
/// ];
/// ```

View File

@ -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

View File

@ -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)]