Skip to content

Commit b4e1ce5

Browse files
committed
trpl-docs: Specify correct type of variable binding
1 parent b1bd3a3 commit b4e1ce5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/doc/trpl/while-loops.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
Rust also has a `while` loop. It looks like this:
44

55
```{rust}
6-
let mut x = 5; // mut x: u32
6+
let mut x = 5; // mut x: i32
77
let mut done = false; // mut done: bool
88
99
while !done {

0 commit comments

Comments
 (0)