about summary refs log tree commit diff
path: root/src/librustdoc/demo.rs
diff options
context:
space:
mode:
authorPatrick Walton <pcwalton@mimiga.net>2013-03-22 14:00:15 -0700
committerPatrick Walton <pcwalton@mimiga.net>2013-03-22 22:24:35 -0700
commit85c9fc6f8f59c146c44aacb4b9abfb2c35e16089 (patch)
tree888af920d60f200086d9362c5f8dccd24b928ae9 /src/librustdoc/demo.rs
parenteba3367404e9ca6abf84199b5c2dbe51ce6cdbde (diff)
downloadrust-85c9fc6f8f59c146c44aacb4b9abfb2c35e16089.tar.gz
rust-85c9fc6f8f59c146c44aacb4b9abfb2c35e16089.zip
librustc: Remove the `const` declaration form everywhere
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