We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 111e468 + f48261d commit 9a60624Copy full SHA for 9a60624
src/fn.md
@@ -44,7 +44,7 @@ fn fizzbuzz(n: u32) -> () {
44
// When a function returns `()`, the return type can be omitted from the
45
// signature
46
fn fizzbuzz_to(n: u32) {
47
- for n in 1..n + 1 {
+ for n in 1..=n {
48
fizzbuzz(n);
49
}
50
0 commit comments