Skip to navigation

Subtract the size number from the vector length12.06.23

https://doc.rust-lang.org/std/vec/struct.Vec.html#method.set_len

Reply

Anonymous

All problems in computer science can be solved with another level of indirection. Except for the problem of having too many layers of indirection