Merge pull request #236 from jrvidal/master

fix(primitive_types4): update outdated comment
This commit is contained in:
marisa 2019-11-12 13:00:28 +01:00 committed by GitHub
commit 57a837bde6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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 = ???