From 9db94498363b4cdf9252084a576bfdb5f13b082f Mon Sep 17 00:00:00 2001 From: Steve Klabnik Date: Tue, 9 Jun 2015 16:30:39 -0400 Subject: [PATCH] Make note about static and dtors Fixes #25851 --- src/doc/trpl/const-and-static.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/doc/trpl/const-and-static.md b/src/doc/trpl/const-and-static.md index f309dd0fad6d..3073a66cbfd2 100644 --- a/src/doc/trpl/const-and-static.md +++ b/src/doc/trpl/const-and-static.md @@ -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