diff options
| author | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2016-06-21 23:54:28 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2016-06-21 23:54:28 +0200 |
| commit | 3f43b0168182aa970390004aaad08f73f2915a7e (patch) | |
| tree | 89a1c6c0c336a85fd441f40ea9accd223d49af54 /src/rustllvm/RustWrapper.cpp | |
| parent | fe96928d7de991e527a7ed7b88bb30aa965c8a08 (diff) | |
| parent | 677aa47d68b7db8bb51c651dcb73a3225b8c7d64 (diff) | |
| download | rust-3f43b0168182aa970390004aaad08f73f2915a7e.tar.gz rust-3f43b0168182aa970390004aaad08f73f2915a7e.zip | |
Rollup merge of #34356 - matklad:cstr-docs, r=GuillaumeGomez
Document `CStr::as_ptr` dangers.
r? @steveklabnik
Hi! I've tried to document `CString::new("hello").unwrap().as_ptr()` footgun. Related [RFC] and the original [discussion].
[RFC]: https://github.com/rust-lang/rfcs/pull/1642
[discussion]: https://users.rust-lang.org/t/you-should-stop-telling-people-that-safe-rust-is-always-safe/6094
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
