1
0
Fork 0
mirror of https://github.com/rust-lang/rustlings.git synced 2024-03-29 12:49:55 +01:00

fix(primitive_types4): update outdated comment

This commit is contained in:
Roberto Vidal 2019-11-12 12:50:33 +01:00
parent eac07df96c
commit ded2c034ba

View File

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