diff options
Diffstat (limited to 'src/libstd/option.rs')
| -rw-r--r-- | src/libstd/option.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libstd/option.rs b/src/libstd/option.rs index 53fa41f9cfd..833f2021043 100644 --- a/src/libstd/option.rs +++ b/src/libstd/option.rs @@ -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. // @@ -441,7 +441,7 @@ impl<A> ExactSize<A> for Item<A> {} /// checking for overflow: /// /// fn inc_conditionally(x: uint) -> Option<uint> { -/// if x == uint::max_value { return None; } +/// if x == uint::MAX { return None; } /// else { return Some(x+1u); } /// } /// let v = [1u, 2, 3]; |
