Fix some typos
This commit is contained in:
parent
59f6b8338e
commit
3ab86fbab2
53 changed files with 83 additions and 82 deletions
|
@ -374,7 +374,7 @@ impl<T> Vec<T> {
|
|||
/// * `capacity` needs to be the capacity that the pointer was allocated with.
|
||||
///
|
||||
/// Violating these may cause problems like corrupting the allocator's
|
||||
/// internal datastructures. For example it is **not** safe
|
||||
/// internal data structures. For example it is **not** safe
|
||||
/// to build a `Vec<u8>` from a pointer to a C `char` array and a `size_t`.
|
||||
///
|
||||
/// The ownership of `ptr` is effectively transferred to the
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue