Skip to content

Commit 9db9449

Browse files
committed
Make note about static and dtors
Fixes #25851
1 parent 7b0f2af commit 9db9449

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/doc/trpl/const-and-static.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,10 @@ unsafe {
6464

6565
[unsafe]: unsafe.html
6666

67-
Furthermore, any type stored in a `static` must be `Sync`.
67+
Furthermore, any type stored in a `static` must be `Sync`, and may not have
68+
a [`Drop`][drop] implementation.
69+
70+
[drop]: drop.html
6871

6972
# Initializing
7073

0 commit comments

Comments
 (0)