diff options
| author | bors <bors@rust-lang.org> | 2016-02-23 20:08:54 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2016-02-23 20:08:54 +0000 |
| commit | 281f9d868fee8e4f9750fc12289dc10522f587ea (patch) | |
| tree | 6e76209ba9cbc6bd089d6edf6b3224e542c448c2 /src/libstd/sys/unix/stack_overflow.rs | |
| parent | 43ddfbdfb2cfc63646db395751f108617f0e39b4 (diff) | |
| parent | 71f29cd83704b39a2aefd609eab645decd3bce92 (diff) | |
| download | rust-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
