Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
References to
CString::from_vec
changed to new
It looks like `from_vec` was subsumed by new at some point, but the documentation still refers to it as `from_vec`. This updates the documentation for `from_vec_unchecked` so that it properly says that it's the unchecked version of `new`. Also, from_vec_unchecked requires a actual Vec<u8> while new can take anything that is Into<Vec<u8>>, so I also mention that in the documentation.
- Loading branch information