From 374c3874afcd01ed0c88047589967d568ceac49f Mon Sep 17 00:00:00 2001 From: mo8it Date: Fri, 21 Feb 2025 13:08:34 +0100 Subject: Apply 2024 edition formatting to solutions --- solutions/03_if/if1.rs | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'solutions/03_if') diff --git a/solutions/03_if/if1.rs b/solutions/03_if/if1.rs index 079c671..8512a60 100644 --- a/solutions/03_if/if1.rs +++ b/solutions/03_if/if1.rs @@ -1,9 +1,5 @@ fn bigger(a: i32, b: i32) -> i32 { - if a > b { - a - } else { - b - } + if a > b { a } else { b } } fn main() { -- cgit v1.2.3