mirror of
https://github.com/notohh/rustlings.git
synced 2024-11-29 16:44:18 -05:00
Merge pull request #236 from jrvidal/master
fix(primitive_types4): update outdated comment
This commit is contained in:
commit
57a837bde6
1 changed files with 3 additions and 3 deletions
|
@ -1,11 +1,11 @@
|
||||||
// primitive_types4.rs
|
// primitive_types4.rs
|
||||||
// Get a slice out of Array a where the ??? is so that the `if` statement
|
// Get a slice out of Array a where the ??? is so that the test passes.
|
||||||
// returns true. Execute `rustlings hint primitive_types4` for hints!!
|
// Execute `rustlings hint primitive_types4` for hints!!
|
||||||
|
|
||||||
// I AM NOT DONE
|
// I AM NOT DONE
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
fn main() {
|
fn slice_out_of_array() {
|
||||||
let a = [1, 2, 3, 4, 5];
|
let a = [1, 2, 3, 4, 5];
|
||||||
|
|
||||||
let nice_slice = ???
|
let nice_slice = ???
|
||||||
|
|
Loading…
Reference in a new issue