1
0
Fork 0
mirror of https://github.com/rust-lang/rustlings.git synced 2024-05-19 03:26:09 +02:00

fix: revert primitive_types4 (#296)

This commit is contained in:
Roberto Vidal 2020-04-08 10:42:35 +02:00 committed by GitHub
parent 86b5c08b9b
commit b3a3351e8e
Signed by: GitHub
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -8,4 +8,7 @@
fn slice_out_of_array() {
let a = [1, 2, 3, 4, 5];
let nice_slice = ???
assert_eq!([2, 3, 4], nice_slice)
}