diff options
| author | derekdreery <rodododouk@hotmail.com> | 2017-01-06 18:17:18 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-01-06 18:17:18 +0000 |
| commit | 0a85d5f7f355e7e04e97e27e2613c9831daa67a7 (patch) | |
| tree | 1b34902ce9e5ff6cb1afcfcdc35169d19a46831a | |
| parent | 5cb37f6331cb97a0d644d3ff753e73dd7bf66604 (diff) | |
| download | rust-0a85d5f7f355e7e04e97e27e2613c9831daa67a7.tar.gz rust-0a85d5f7f355e7e04e97e27e2613c9831daa67a7.zip | |
Update vec.rs
Changed language to stress char is the C meaning (u8) not unicode.
| -rw-r--r-- | src/libcollections/vec.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcollections/vec.rs b/src/libcollections/vec.rs index 3c9a9897fea..12eac3c96ee 100644 --- a/src/libcollections/vec.rs +++ b/src/libcollections/vec.rs @@ -371,7 +371,7 @@ impl<T> Vec<T> { /// /// Violating these may cause problems like corrupting the allocator's /// internal datastructures. For example it is **not** safe - /// to build a `Vec<u8>` from a C pointer to a char array and a `size_t`. + /// 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 /// `Vec<T>` which may then deallocate, reallocate or change the |
