diff options
| author | mo8it <mo8it@proton.me> | 2024-04-11 02:51:02 +0200 |
|---|---|---|
| committer | mo8it <mo8it@proton.me> | 2024-04-11 02:51:02 +0200 |
| commit | fa1f239a702eb2c0b7e0115e986481156961bbc8 (patch) | |
| tree | 08ac7c8638546f80ac650474dfe4126103a15e54 /exercises/03_if | |
| parent | 4bb6bda9f6416e30233342e73fc9a8486faa3f98 (diff) | |
Remove "I AM NOT DONE" and the verify mode and add AppState
Diffstat (limited to 'exercises/03_if')
| -rw-r--r-- | exercises/03_if/if1.rs | 2 | ||||
| -rw-r--r-- | exercises/03_if/if2.rs | 2 | ||||
| -rw-r--r-- | exercises/03_if/if3.rs | 2 |
3 files changed, 0 insertions, 6 deletions
diff --git a/exercises/03_if/if1.rs b/exercises/03_if/if1.rs index d2afccf..a1df66b 100644 --- a/exercises/03_if/if1.rs +++ b/exercises/03_if/if1.rs @@ -2,8 +2,6 @@ // // Execute `rustlings hint if1` or use the `hint` watch subcommand for a hint. -// I AM NOT DONE - pub fn bigger(a: i32, b: i32) -> i32 { // Complete this function to return the bigger number! // If both numbers are equal, any of them can be returned. diff --git a/exercises/03_if/if2.rs b/exercises/03_if/if2.rs index f512f13..7b9c05f 100644 --- a/exercises/03_if/if2.rs +++ b/exercises/03_if/if2.rs @@ -5,8 +5,6 @@ // // Execute `rustlings hint if2` or use the `hint` watch subcommand for a hint. -// I AM NOT DONE - pub fn foo_if_fizz(fizzish: &str) -> &str { if fizzish == "fizz" { "foo" diff --git a/exercises/03_if/if3.rs b/exercises/03_if/if3.rs index 1696274..caba172 100644 --- a/exercises/03_if/if3.rs +++ b/exercises/03_if/if3.rs @@ -2,8 +2,6 @@ // // Execute `rustlings hint if3` or use the `hint` watch subcommand for a hint. -// I AM NOT DONE - pub fn animal_habitat(animal: &str) -> &'static str { let identifier = if animal == "crab" { 1 |
