mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-30 02:33:55 +00:00
Rollup merge of #26144 - steveklabnik:static_doc_fix, r=alexcrichton
Fixes #25851 I am 99% sure this is true for all `static`s and not just `static mut`, yes?
This commit is contained in:
commit
6b6b380fd1
@ -64,7 +64,10 @@ unsafe {
|
||||
|
||||
[unsafe]: unsafe.html
|
||||
|
||||
Furthermore, any type stored in a `static` must be `Sync`.
|
||||
Furthermore, any type stored in a `static` must be `Sync`, and may not have
|
||||
a [`Drop`][drop] implementation.
|
||||
|
||||
[drop]: drop.html
|
||||
|
||||
# Initializing
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user