summaryrefslogtreecommitdiff
path: root/exercises/03_if/if2.rs
diff options
context:
space:
mode:
Diffstat (limited to 'exercises/03_if/if2.rs')
-rw-r--r--exercises/03_if/if2.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/exercises/03_if/if2.rs b/exercises/03_if/if2.rs
index a06bba5..d834ab2 100644
--- a/exercises/03_if/if2.rs
+++ b/exercises/03_if/if2.rs
@@ -1,7 +1,7 @@
// Step 1: Make me compile!
// Step 2: Get the bar_for_fuzz and default_to_baz tests passing!
-pub fn foo_if_fizz(fizzish: &str) -> &str {
+fn foo_if_fizz(fizzish: &str) -> &str {
if fizzish == "fizz" {
"foo"
} else {