diff options
| author | Dylan MacKenzie <ecstaticmorse@gmail.com> | 2018-04-06 00:34:45 -0700 |
|---|---|---|
| committer | Dylan MacKenzie <ecstaticmorse@gmail.com> | 2018-04-07 15:11:41 -0700 |
| commit | 8b8091d370fa31844d6ed55f4ccdd32e5dbd20f9 (patch) | |
| tree | 57798c6f313fe12d861da36d6bc6502f2946d2fc /src/rustllvm/RustWrapper.cpp | |
| parent | 780707490f2b6c3e71a1418e08ef80a6730bce13 (diff) | |
| download | rust-8b8091d370fa31844d6ed55f4ccdd32e5dbd20f9.tar.gz rust-8b8091d370fa31844d6ed55f4ccdd32e5dbd20f9.zip | |
Rewrite docs for `std::ptr`
- Add links to the GNU libc docs for `memmove`, `memcpy`, and `memset`, as well as internally linking to other functions in `std::ptr` - List sources of UB for all functions. - Add example to `ptr::drop_in_place` and compares it to `ptr::read`. - Add examples which more closely mirror real world uses for the functions in `std::ptr`. Also, move the reimplementation of `mem::swap` to the examples of `ptr::read` and use a more interesting example for `copy_nonoverlapping`. - Change module level description
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
