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
richard-uk1 authored and frewsxcv committed Jan 9, 2017
1 parent ddc536c commit 27de1bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libcollections/vec.rs
Original file line number Diff line number Diff line change
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 27de1bb

Please sign in to comment.