Skip to content

Commit

Permalink
Fix trailing whitespaces
Browse files Browse the repository at this point in the history
  • Loading branch information
cactorium committed Apr 19, 2015
1 parent 99d2552 commit 4420f31
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/librustc/diagnostics.rs
Expand Up @@ -303,15 +303,15 @@ number cannot be negative.
E0307: r##"
The length of an array is part of its type. For this reason, this length must be
a compile-time constant.
"##,
"##,

E0308: r##"
This error occurs when the compiler was unable to infer the concrete type of a
variable. This error can occur for several cases, the most common of which is
that there is a mismatch in the expected type that the compiler inferred, and
the actual type that the user defined a variable as.
let a: char = 7; // An integral type can't be contained in a character, so
let a: char = 7; // An integral type can't be contained in a character, so
// there is a mismatch.
let b: u32 = 7; // Either use the right type...
Expand Down

0 comments on commit 4420f31

Please sign in to comment.