Skip to content

Commit 99d2552

Browse files
committed
Fix typo
1 parent d6227dc commit 99d2552

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustc/diagnostics.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -311,7 +311,7 @@ variable. This error can occur for several cases, the most common of which is
311311
that there is a mismatch in the expected type that the compiler inferred, and
312312
the actual type that the user defined a variable as.
313313
314-
let a: char = 7; // An integral type can't contained in a character, so
314+
let a: char = 7; // An integral type can't be contained in a character, so
315315
// there is a mismatch.
316316
317317
let b: u32 = 7; // Either use the right type...

0 commit comments

Comments
 (0)