about summary refs log tree commit diff
path: root/src/librustdoc/demo.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/librustdoc/demo.rs')
-rw-r--r--src/librustdoc/demo.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustdoc/demo.rs b/src/librustdoc/demo.rs
index ad57af8942d..c5fb8f289f6 100644
--- a/src/librustdoc/demo.rs
+++ b/src/librustdoc/demo.rs
@@ -24,7 +24,7 @@
 use core::prelude::*;
 
 /// The base price of a muffin on a non-holiday
-const price_of_a_muffin: float = 70f;
+static price_of_a_muffin: float = 70f;
 
 struct WaitPerson {
     hair_color: ~str