summaryrefslogtreecommitdiff
path: root/exercises/03_if/if3.rs
diff options
context:
space:
mode:
Diffstat (limited to 'exercises/03_if/if3.rs')
-rw-r--r--exercises/03_if/if3.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/exercises/03_if/if3.rs b/exercises/03_if/if3.rs
index 1d9b7c2..ff6fee6 100644
--- a/exercises/03_if/if3.rs
+++ b/exercises/03_if/if3.rs
@@ -1,4 +1,4 @@
-pub fn animal_habitat(animal: &str) -> &'static str {
+fn animal_habitat(animal: &str) -> &'static str {
let identifier = if animal == "crab" {
1
} else if animal == "gopher" {