Skip to content

Commit 57a837b

Browse files
author
marisa
authored
Merge pull request #236 from jrvidal/master
fix(primitive_types4): update outdated comment
2 parents eac07df + ded2c03 commit 57a837b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

exercises/primitive_types/primitive_types4.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
// 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!!
2+
// Get a slice out of Array a where the ??? is so that the test passes.
3+
// Execute `rustlings hint primitive_types4` for hints!!
44

55
// I AM NOT DONE
66

77
#[test]
8-
fn main() {
8+
fn slice_out_of_array() {
99
let a = [1, 2, 3, 4, 5];
1010

1111
let nice_slice = ???

0 commit comments

Comments
 (0)