mirror of
https://github.com/notohh/rustlings.git
synced 2024-11-22 22:02:22 -05:00
fix: revert primitive_types4 (#296)
This commit is contained in:
parent
86b5c08b9b
commit
b3a3351e8e
1 changed files with 3 additions and 0 deletions
|
@ -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