diff --git a/src/ch03-02-data-types.md b/src/ch03-02-data-types.md index 2aa8b79cd8..bc2b9f2f39 100644 --- a/src/ch03-02-data-types.md +++ b/src/ch03-02-data-types.md @@ -13,7 +13,7 @@ Number”][comparing-the-guess-to-the-secret-number] section in Chapter 2, we must add a type annotation, like this: ```rust -let guess: u32 = "42".parse().expect("Not a number!"); +let guess: u32 = "42".parse().expect("value should parse to a number"); ``` If we don’t add the `: u32` type annotation shown in the preceding code, Rust