Closed giarc3 closed 2 years ago
I implemented it but I still have to fix the signing & SSH key on my private laptop. Through if nothing gets in the way a v1.9 should be released tomorrow with methods like:
Vec1::from_vec_push(std::vec![], 1u8)
Vec1::from_vec_insert(std::vec![1,3], 1, 2u8)
Done :tada:
This is fantastic, thank you so much! :tada:
Recently when using this crate I've been writing lots of code that looks like
Essentially I want to append an item to a Vec and then turn it into a Vec1. Since I added an item, I know that this is safe, but the
unwrap
doesn't capture this guarantee.Would a function for this (and also one that prepends to the Vec) be accepted into the crate?