about summary refs log tree commit diff
path: root/src/libstd/sys/unix/stack_overflow.rs
diff options
context:
space:
mode:
authorAaron Turon <aturon@mozilla.com>2015-04-01 11:34:27 -0700
committerAaron Turon <aturon@mozilla.com>2015-04-01 12:41:25 -0700
commitc0f86a953ca1fb6e7af0378ea99b3d91f9d50e46 (patch)
treefea06f7aaffb6aadb0758438f5be4b69ee722f6a /src/libstd/sys/unix/stack_overflow.rs
parentd528aa9960cb9b937d8ef6c09905a6a8076d5f3a (diff)
downloadrust-c0f86a953ca1fb6e7af0378ea99b3d91f9d50e46.tar.gz
rust-c0f86a953ca1fb6e7af0378ea99b3d91f9d50e46.zip
Re-add min_value, max_value methods
Recent numerics stabilization removed the inherent `min_value` and
`max_value` methods from integer types, assuming that the module-level
constants would suffice. However, that failed to account for the use
case in FFI code when dealing with integer type aliases.

This commit reintroduces the methods as `#[stable]`, since this is
essential functionality for 1.0.

It's unfortunate to freeze these as methods, but when we can provide
inherent associated constants these methods can be deprecated.
Diffstat (limited to 'src/libstd/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions