Remove unneeded pub

This commit is contained in:
mo8it
2024-05-22 15:04:12 +02:00
parent d0b843d6c4
commit 3bb71c6b0c
18 changed files with 30 additions and 30 deletions
+1 -1
View File
@@ -2,7 +2,7 @@
// the test passes. Then write a second test that tests whether we get the
// result we expect to get when we call `is_even(5)`.
pub fn is_even(num: i32) -> bool {
fn is_even(num: i32) -> bool {
num % 2 == 0
}