We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents eac07df + ded2c03 commit 57a837bCopy full SHA for 57a837b
exercises/primitive_types/primitive_types4.rs
@@ -1,11 +1,11 @@
1
// primitive_types4.rs
2
-// Get a slice out of Array a where the ??? is so that the `if` statement
3
-// 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!!
4
5
// I AM NOT DONE
6
7
#[test]
8
-fn main() {
+fn slice_out_of_array() {
9
let a = [1, 2, 3, 4, 5];
10
11
let nice_slice = ???
0 commit comments