diff options
| author | Patrick Walton <pcwalton@mimiga.net> | 2013-03-22 14:00:15 -0700 |
|---|---|---|
| committer | Patrick Walton <pcwalton@mimiga.net> | 2013-03-22 22:24:35 -0700 |
| commit | 85c9fc6f8f59c146c44aacb4b9abfb2c35e16089 (patch) | |
| tree | 888af920d60f200086d9362c5f8dccd24b928ae9 /src/libcore/num/int-template/int.rs | |
| parent | eba3367404e9ca6abf84199b5c2dbe51ce6cdbde (diff) | |
| download | rust-85c9fc6f8f59c146c44aacb4b9abfb2c35e16089.tar.gz rust-85c9fc6f8f59c146c44aacb4b9abfb2c35e16089.zip | |
librustc: Remove the `const` declaration form everywhere
Diffstat (limited to 'src/libcore/num/int-template/int.rs')
| -rw-r--r-- | src/libcore/num/int-template/int.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcore/num/int-template/int.rs b/src/libcore/num/int-template/int.rs index 29e1e52348e..3c89492c7e4 100644 --- a/src/libcore/num/int-template/int.rs +++ b/src/libcore/num/int-template/int.rs @@ -16,7 +16,7 @@ pub use self::inst::pow; mod inst { pub type T = int; - pub const bits: uint = ::uint::bits; + pub static bits: uint = ::uint::bits; /// Returns `base` raised to the power of `exponent` pub fn pow(base: int, exponent: uint) -> int { |
