mirror of
https://github.com/notohh/rustlings.git
synced 2024-11-29 00:34:17 -05:00
feat(if): replace hints
This commit is contained in:
parent
742fb08e01
commit
4868d18ea3
3 changed files with 3 additions and 3 deletions
|
@ -1,6 +1,6 @@
|
|||
# If
|
||||
|
||||
`if`, the most basic type of control flow, is what you'll learn here.
|
||||
`if`, the most basic (but still surprisingly versatile!) type of control flow, is what you'll learn here.
|
||||
|
||||
## Further information
|
||||
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
// if1.rs
|
||||
// Execute `rustlings hint if1` or use the `hint` watch subcommand for a hint.
|
||||
|
||||
// I AM NOT DONE
|
||||
|
||||
|
@ -7,7 +8,6 @@ pub fn bigger(a: i32, b: i32) -> i32 {
|
|||
// Do not use:
|
||||
// - another function call
|
||||
// - additional variables
|
||||
// Execute `rustlings hint if1` for hints
|
||||
}
|
||||
|
||||
// Don't mind this for now :)
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
// Step 1: Make me compile!
|
||||
// Step 2: Get the bar_for_fuzz and default_to_baz tests passing!
|
||||
// Execute the command `rustlings hint if2` if you want a hint :)
|
||||
// Execute `rustlings hint if2` or use the `hint` watch subcommand for a hint.
|
||||
|
||||
// I AM NOT DONE
|
||||
|
||||
|
|
Loading…
Reference in a new issue