]> git.lizzy.rs Git - rust.git/commit
Add missing #[inline] to min_value/max_value on integers
authorUlrik Sverdrup <bluss@users.noreply.github.com>
Sat, 4 Jul 2015 20:54:59 +0000 (22:54 +0200)
committerUlrik Sverdrup <bluss@users.noreply.github.com>
Sat, 4 Jul 2015 20:54:59 +0000 (22:54 +0200)
commite68934277fad7d34f3cc65b8862c9e50bdc3737d
tree296929fe018d1f22e10003b8335f0f1473b91928
parentc5a0a73253dd5cbd1bde8b05b15b3e644ad2b37a
Add missing #[inline] to min_value/max_value on integers

Spotted a compiled function call to num::usize::min_value, I'd prefer
the 0 to be inlined.
src/libcore/num/mod.rs