about summary refs log tree commit diff
path: root/src/libstd/sys/unix/stack_overflow.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2016-02-23 20:08:54 +0000
committerbors <bors@rust-lang.org>2016-02-23 20:08:54 +0000
commit281f9d868fee8e4f9750fc12289dc10522f587ea (patch)
tree6e76209ba9cbc6bd089d6edf6b3224e542c448c2 /src/libstd/sys/unix/stack_overflow.rs
parent43ddfbdfb2cfc63646db395751f108617f0e39b4 (diff)
parent71f29cd83704b39a2aefd609eab645decd3bce92 (diff)
downloadrust-281f9d868fee8e4f9750fc12289dc10522f587ea.tar.gz
rust-281f9d868fee8e4f9750fc12289dc10522f587ea.zip
Auto merge of #30614 - arcnmx:cstr-bytes, r=alexcrichton
I'm a bit iffy on the return type, but `Result` would also be a bit weird... The two error cases are `Unterminated` and `InteriorNul(usize)`.

I considered `from_chars(&[c_char])` but this meshes better with `as_bytes_with_nul()` and Rust code in general.

Should there also be a corresponding unsafe `from_bytes_unchecked` variant?
Diffstat (limited to 'src/libstd/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions