From 27de1bb1f88d982ba7bb39408f21661bb4750035 Mon Sep 17 00:00:00 2001 From: derekdreery Date: Fri, 6 Jan 2017 18:17:18 +0000 Subject: [PATCH] Update vec.rs Changed language to stress char is the C meaning (u8) not unicode. --- src/libcollections/vec.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libcollections/vec.rs b/src/libcollections/vec.rs index b4f8fc4f98f9c..27cf0268c99bb 100644 --- a/src/libcollections/vec.rs +++ b/src/libcollections/vec.rs @@ -371,7 +371,7 @@ impl Vec { /// /// Violating these may cause problems like corrupting the allocator's /// internal datastructures. For example it is **not** safe - /// to build a `Vec` from a C pointer to a char array and a `size_t`. + /// to build a `Vec` from a pointer to a C `char` array and a `size_t`. /// /// The ownership of `ptr` is effectively transferred to the /// `Vec` which may then deallocate, reallocate or change the