We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5cb37f6 commit 0a85d5fCopy full SHA for 0a85d5f
src/libcollections/vec.rs
@@ -371,7 +371,7 @@ impl<T> Vec<T> {
371
///
372
/// Violating these may cause problems like corrupting the allocator's
373
/// internal datastructures. For example it is **not** safe
374
- /// 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`.
375
376
/// The ownership of `ptr` is effectively transferred to the
377
/// `Vec<T>` which may then deallocate, reallocate or change the
0 commit comments