Skip to content

Commit

Permalink
Update vec.rs
Browse files Browse the repository at this point in the history
Changed language to stress char is the C meaning (u8) not unicode.
  • Loading branch information
derekdreery committed Jan 6, 2017
1 parent 5cb37f6 commit 0a85d5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libcollections/vec.rs
Expand Up @@ -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
Expand Down

0 comments on commit 0a85d5f

Please sign in to comment.