|
|
|
|
|
by Manishearth
3456 days ago
|
|
> I wouldn't be surprised if Rust has mechanisms to chop up arrays in the way I describe and enforce the bounds you provide it [T]::split_at is probably what you're looking for. Almost all array handling in Rust is done through slice types which are tagged with sizes. |
|