mirror of
https://github.com/rust-lang/rustlings.git
synced 2024-12-27 00:00:03 +03:00
fix: revert primitive_types4 (#296)
This commit is contained in:
parent
86b5c08b9b
commit
b3a3351e8e
|
@ -8,4 +8,7 @@
|
||||||
fn slice_out_of_array() {
|
fn slice_out_of_array() {
|
||||||
let a = [1, 2, 3, 4, 5];
|
let a = [1, 2, 3, 4, 5];
|
||||||
|
|
||||||
|
let nice_slice = ???
|
||||||
|
|
||||||
|
assert_eq!([2, 3, 4], nice_slice)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue