diff options
| author | Roberto Vidal <vidal.roberto.j@gmail.com> | 2019-11-12 12:50:33 +0100 |
|---|---|---|
| committer | Roberto Vidal <vidal.roberto.j@gmail.com> | 2019-11-12 12:52:28 +0100 |
| commit | ded2c034ba93fa1e3c2c2ea16b83abc1a57265e8 (patch) | |
| tree | b291d590ee40c0c1b5a9d63d031f951c67d2fbca | |
| parent | eac07df96c4b6102c6eff5790e8ae6febae562da (diff) | |
fix(primitive_types4): update outdated comment
| -rw-r--r-- | exercises/primitive_types/primitive_types4.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/exercises/primitive_types/primitive_types4.rs b/exercises/primitive_types/primitive_types4.rs index ff1e279..10b553e 100644 --- a/exercises/primitive_types/primitive_types4.rs +++ b/exercises/primitive_types/primitive_types4.rs @@ -1,11 +1,11 @@ // primitive_types4.rs -// Get a slice out of Array a where the ??? is so that the `if` statement -// returns true. Execute `rustlings hint primitive_types4` for hints!! +// Get a slice out of Array a where the ??? is so that the test passes. +// Execute `rustlings hint primitive_types4` for hints!! // I AM NOT DONE #[test] -fn main() { +fn slice_out_of_array() { let a = [1, 2, 3, 4, 5]; let nice_slice = ??? |
