Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/ch03-02-data-types.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Number”][comparing-the-guess-to-the-secret-number]<!-- ignore --> 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
Expand Down