mirror of
https://github.com/google/comprehensive-rust.git
synced 2025-01-18 12:30:31 +02:00
Fix typo in Control Flow Basics - Macro code snippet (#1638)
Fixes #1637
This commit is contained in:
parent
43474d27d1
commit
3d5bec524f
@ -32,8 +32,8 @@ fn fizzbuzz(n: u32) -> u32 {
|
|||||||
}
|
}
|
||||||
|
|
||||||
fn main() {
|
fn main() {
|
||||||
let n = 13;
|
let n = 4;
|
||||||
println!("{n}! = {}", factorial(4));
|
println!("{n}! = {}", factorial(n));
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user