mirror of
https://github.com/ProvableHQ/leo.git
synced 2024-12-25 19:22:01 +03:00
7 lines
155 B
Plaintext
7 lines
155 B
Plaintext
// `{from}..{to}` copies the elements of one array into another exclusively
|
|
function main(a: u8[3]) {
|
|
let b = [1u8; 4];
|
|
|
|
assert_eq!(a, b[0..3]);
|
|
}
|