1
0
mirror of https://github.com/google/comprehensive-rust.git synced 2025-03-20 06:21:09 +02:00

Merge pull request #55 from Arthur-Milchior/patch-5

Fix typo on Send+Sync page
This commit is contained in:
Martin Geisler 2022-12-27 17:19:07 +01:00 committed by GitHub
commit c7eff6b85e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -37,5 +37,5 @@ These types are not thread-safe and cannot be moved to other threads:
* `Rc<T>`: each `Rc<T>` has a reference to an `RcBox<T>`, which contains a
non-atomic reference count.
* `*const T`, `*mut T`: Rust that there are special lifetime considerations for the
pointer.
* `*const T`, `*mut T`: Rust assumes raw pointers may have special
concurrency considerations.