You've already forked comprehensive-rust
mirror of
https://github.com/google/comprehensive-rust.git
synced 2025-06-23 01:07:40 +02:00
Fix typo in Control Flow Basics - Macro code snippet (#1638)
Fixes #1637
This commit is contained in:
@ -32,8 +32,8 @@ fn fizzbuzz(n: u32) -> u32 {
|
||||
}
|
||||
|
||||
fn main() {
|
||||
let n = 13;
|
||||
println!("{n}! = {}", factorial(4));
|
||||
let n = 4;
|
||||
println!("{n}! = {}", factorial(n));
|
||||
}
|
||||
```
|
||||
|
||||
|
Reference in New Issue
Block a user