oh just cargo fmt it all

This commit is contained in:
2026-10-06 20:58:16 +01:00
parent 37a6496906
commit d154b1e376
17 changed files with 119 additions and 116 deletions
@@ -5,7 +5,9 @@ fn main() {
println!("Please insert a number between 2 and 45");
let mut num = String::new();
io::stdin().read_line( &mut num).expect("failed to read line");
io::stdin()
.read_line(&mut num)
.expect("failed to read line");
let num: u8 = match num.trim().parse() {
Ok(n) if n < 45 => n,
@@ -19,7 +21,6 @@ fn main() {
println!("{fib}");
}
fn fibonacci(n: u8) -> u32 {
if n == 0 {
0