about summary refs log tree commit diff
path: root/src/libsyntax/parse/prec.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/libsyntax/parse/prec.rs
parenteba3367404e9ca6abf84199b5c2dbe51ce6cdbde (diff)
downloadrust-85c9fc6f8f59c146c44aacb4b9abfb2c35e16089.tar.gz
rust-85c9fc6f8f59c146c44aacb4b9abfb2c35e16089.zip
librustc: Remove the `const` declaration form everywhere
Diffstat (limited to 'src/libsyntax/parse/prec.rs')
-rw-r--r--src/libsyntax/parse/prec.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libsyntax/parse/prec.rs b/src/libsyntax/parse/prec.rs
index e2a89d2a28c..79adabec9b7 100644
--- a/src/libsyntax/parse/prec.rs
+++ b/src/libsyntax/parse/prec.rs
@@ -16,13 +16,13 @@ use parse::token::Token;
 use core::prelude::*;
 
 /// Unary operators have higher precedence than binary
-pub const unop_prec: uint = 100u;
+pub static unop_prec: uint = 100u;
 
 /**
  * Precedence of the `as` operator, which is a binary operator
  * but is not represented in the precedence table.
  */
-pub const as_prec: uint = 11u;
+pub static as_prec: uint = 11u;
 
 /**
  * Maps a token to a record specifying the corresponding binary