]> git.lizzy.rs Git - rust.git/commit
Remove impossible panic note from `Vec::append`
authorTobias Bucher <tobiasbucher5991@gmail.com>
Tue, 22 Mar 2022 20:07:43 +0000 (21:07 +0100)
committerTobias Bucher <tobiasbucher5991@gmail.com>
Tue, 22 Mar 2022 20:07:43 +0000 (21:07 +0100)
commit4123d33fbd66fcf2f13e0fcb3543fd518ee98f42
tree3b691fbdc218e53df9dae254de2fb0af6b3c6c89
parent3ea44938e21f0de8ae7d4f6399a8a30f97867c70
Remove impossible panic note from `Vec::append`

Neither the number of elements in a vector can overflow a `usize`, nor
can the amount of elements in two vectors.
library/alloc/src/vec/mod.rs