about summary refs log tree commit diff
path: root/doc/tutorial.md
diff options
context:
space:
mode:
Diffstat (limited to 'doc/tutorial.md')
-rw-r--r--doc/tutorial.md1
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/tutorial.md b/doc/tutorial.md
index d0b375b0b58..ee9d22e548d 100644
--- a/doc/tutorial.md
+++ b/doc/tutorial.md
@@ -1154,6 +1154,7 @@ let mut x = 5;
     let y = &x; // x is now frozen, it cannot be modified
 }
 // x is now unfrozen again
+# x = 3;
 ~~~~
 
 Mutable managed boxes handle freezing dynamically when any of their contents