From 988e4f0a1c2802921375271bdc19f03650c024d2 Mon Sep 17 00:00:00 2001 From: Chris Wong Date: Sat, 25 Jan 2014 20:37:51 +1300 Subject: Uppercase numeric constants The following are renamed: * `min_value` => `MIN` * `max_value` => `MAX` * `bits` => `BITS` * `bytes` => `BYTES` Fixes #10010. --- src/libstd/rt/thread.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/libstd/rt') diff --git a/src/libstd/rt/thread.rs b/src/libstd/rt/thread.rs index b5262424c06..d543af1bf9b 100644 --- a/src/libstd/rt/thread.rs +++ b/src/libstd/rt/thread.rs @@ -1,4 +1,4 @@ -// Copyright 2013 The Rust Project Developers. See the COPYRIGHT +// Copyright 2013-2014 The Rust Project Developers. See the COPYRIGHT // file at the top-level directory of this distribution and at // http://rust-lang.org/COPYRIGHT. // @@ -43,7 +43,7 @@ static DEFAULT_STACK_SIZE: uint = 1024 * 1024; extern fn thread_start(main: *libc::c_void) -> imp::rust_thread_return { use unstable::stack; unsafe { - stack::record_stack_bounds(0, uint::max_value); + stack::record_stack_bounds(0, uint::MAX); let f: ~proc() = cast::transmute(main); (*f)(); cast::transmute(0 as imp::rust_thread_return) -- cgit 1.4.1-3-g733a5