Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
rust: alloc: add missing comment on
try_resize
An update missing from Rust 1.57.0. The comment was added in upstream commit e8e7f6e05cf6 ("Add truncate note to Vec::resize") to `resize`, but not to our fallible version `try_resize`. Fixes: 7aaec26 ("rust: alloc: upgrade to 1.57.0") Reviewed-by: Björn Roy Baron <bjorn3_gh@protonmail.com> Reviewed-by: Martin Rodriguez Reboredo <yakoyoku@gmail.com> Tested-by: Martin Rodriguez Reboredo <yakoyoku@gmail.com> Reviewed-by: Gary Guo <gary@garyguo.net> Reviewed-by: Vincenzo Palazzo <vincenzopalazzodev@gmail.com> Reviewed-by: Alice Ferrazzi <alice.ferrazzi@miraclelinux.com> Tested-by: Alice Ferrazzi <alice.ferrazzi@miraclelinux.com> Reviewed-by: Neal Gompa <neal@gompa.dev> Tested-by: Neal Gompa <neal@gompa.dev> Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
- Loading branch information