Uppercase numeric constants
The following are renamed: * `min_value` => `MIN` * `max_value` => `MAX` * `bits` => `BITS` * `bytes` => `BYTES` Fixes #10010.
This commit is contained in:
parent
de57a22b9a
commit
988e4f0a1c
36 changed files with 444 additions and 444 deletions
|
@ -1,4 +1,4 @@
|
|||
// Copyright 2012-2013 The Rust Project Developers. See the COPYRIGHT
|
||||
// Copyright 2012-2014 The Rust Project Developers. See the COPYRIGHT
|
||||
// file at the top-level directory of this distribution and at
|
||||
// http://rust-lang.org/COPYRIGHT.
|
||||
//
|
||||
|
@ -1072,7 +1072,7 @@ impl<'a,T> ImmutableVector<'a, T> for &'a [T] {
|
|||
|
||||
#[inline]
|
||||
fn split(self, pred: 'a |&T| -> bool) -> Splits<'a, T> {
|
||||
self.splitn(uint::max_value, pred)
|
||||
self.splitn(uint::MAX, pred)
|
||||
}
|
||||
|
||||
#[inline]
|
||||
|
@ -1087,7 +1087,7 @@ impl<'a,T> ImmutableVector<'a, T> for &'a [T] {
|
|||
|
||||
#[inline]
|
||||
fn rsplit(self, pred: 'a |&T| -> bool) -> RevSplits<'a, T> {
|
||||
self.rsplitn(uint::max_value, pred)
|
||||
self.rsplitn(uint::MAX, pred)
|
||||
}
|
||||
|
||||
#[inline]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue