diff options
| author | Manish Goregaokar <manishsmail@gmail.com> | 2015-03-20 05:30:39 +0530 |
|---|---|---|
| committer | Manish Goregaokar <manishsmail@gmail.com> | 2015-03-20 12:43:12 +0530 |
| commit | baf6b3a35d0d8cdecd3ffc350b8d83cb872a1e60 (patch) | |
| tree | 5e727e9b80d4f9d109a3ebd2de0680301a43e30e /src | |
| parent | 17c1a46a7d113c81a26eed5be8942be94b78eff2 (diff) | |
| parent | 109803f6d5a07f3aed2e647703087a46df48decd (diff) | |
| download | rust-baf6b3a35d0d8cdecd3ffc350b8d83cb872a1e60.tar.gz rust-baf6b3a35d0d8cdecd3ffc350b8d83cb872a1e60.zip | |
Rollup merge of #23531 - steveklabnik:gh21709, r=alexcrichton
Fixes #21709
Diffstat (limited to 'src')
| -rw-r--r-- | src/doc/trpl/unsafe.md | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/doc/trpl/unsafe.md b/src/doc/trpl/unsafe.md index 4e14085599b..11f0b8e1ddb 100644 --- a/src/doc/trpl/unsafe.md +++ b/src/doc/trpl/unsafe.md @@ -93,10 +93,6 @@ offered by the Rust language and libraries. For example, they - are plain-old-data, that is, they don't move ownership, again unlike `Box`, hence the Rust compiler cannot protect against bugs like use-after-free; -- are considered sendable (if their contents is considered sendable), - so the compiler offers no assistance with ensuring their use is - thread-safe; for example, one can concurrently access a `*mut i32` - from two threads without synchronization. - lack any form of lifetimes, unlike `&`, and so the compiler cannot reason about dangling pointers; and - have no guarantees about aliasing or mutability other than mutation |
