From 99d2552c4ef409dc7232a47fbd92bb9df8c98cdc Mon Sep 17 00:00:00 2001 From: Kelvin Ly Date: Sat, 18 Apr 2015 20:25:24 -0400 Subject: [PATCH] Fix typo --- src/librustc/diagnostics.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/librustc/diagnostics.rs b/src/librustc/diagnostics.rs index 2d1bf1672761..12b65b7feb55 100644 --- a/src/librustc/diagnostics.rs +++ b/src/librustc/diagnostics.rs @@ -311,7 +311,7 @@ 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 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...