Ignorer lints som ikke trengs

This commit is contained in:
Håkon Størdal 2025-03-25 17:22:37 +01:00
parent c09ac53fef
commit d06e49bcd7
3 changed files with 32 additions and 2 deletions

View file

@ -1,3 +1,4 @@
#[allow(dead_code)]
fn climb_stairs_on2(n: i32) -> i32 {
if n == 1 {
return 1;