diff --git a/crates/vec-const/RUSTSEC-2021-0082.md b/crates/vec-const/RUSTSEC-2021-0082.md index 4300d16..a15d11b 100644 --- a/crates/vec-const/RUSTSEC-2021-0082.md +++ b/crates/vec-const/RUSTSEC-2021-0082.md @@ -9,9 +9,11 @@ keywords = ["memory-safety"] informational = "unsound" [versions] -patched = [] +patched = [">= 2.0.0"] ``` # vec-const attempts to construct a Vec from a pointer to a const slice -This crate claims to construct a const `Vec` with nonzero length and capacity, but that cannot be done because such a `Vec` requires a pointer from an allocator. +Affected versions of this crate claimed to construct a const `Vec` with nonzero length and capacity, but that cannot be done because such a `Vec` requires a pointer from an allocator. + +The implementation was later changed to just construct a `std::borrow::Cow`.