1
0
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:
Karim Ben Amara 2024-01-03 15:06:09 +01:00 committed by GitHub
parent 43474d27d1
commit 3d5bec524f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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));
} }
``` ```