about summary refs log tree commit diff
path: root/src/doc/guide.md
diff options
context:
space:
mode:
Diffstat (limited to 'src/doc/guide.md')
-rw-r--r--src/doc/guide.md1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/doc/guide.md b/src/doc/guide.md
index f4ec787a794..552ac31d038 100644
--- a/src/doc/guide.md
+++ b/src/doc/guide.md
@@ -5312,6 +5312,7 @@ example, if you wish to compute some value in the background, `Future` is
 a useful thing to use:
 
 ```{rust}
+# #![allow(deprecated)]
 use std::sync::Future;
 
 let mut delayed_value = Future::spawn(move || {