rust/src/libstd/ffi
Alex Crichton 83d79c6f4c rollup merge of #24350: tbelaire/cstring-doc-from-vec
It looks like `from_vec` was subsumed by new at some point,
but the documentation still refers to it as `from_vec`.

This updates the documentation for `from_vec_unchecked`
so that it properly says that it's the unchecked version of `new`.

Also, from_vec_unchecked requires a actual Vec<u8> while
new can take anything that is Into<Vec<u8>>, so I also
mention that in the documentation.

Since this is documentation:
r? @steveklabnik
2015-04-14 10:55:45 -07:00
..
c_str.rs rollup merge of #24350: tbelaire/cstring-doc-from-vec 2015-04-14 10:55:45 -07:00
mod.rs std: Clean out #[deprecated] APIs 2015-03-31 15:49:57 -07:00
os_str.rs std: Remove old_io/old_path/rand modules 2015-04-14 10:14:11 -07:00