We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 42e545f + e689342 commit f9f5809Copy full SHA for f9f5809
src/libcore/num/mod.rs
@@ -668,10 +668,12 @@ macro_rules! uint_impl {
668
$mul_with_overflow:path) => {
669
/// Returns the smallest value that can be represented by this integer type.
670
#[stable(feature = "rust1", since = "1.0.0")]
671
+ #[inline]
672
pub fn min_value() -> Self { 0 }
673
674
/// Returns the largest value that can be represented by this integer type.
675
676
677
pub fn max_value() -> Self { !0 }
678
679
/// Converts a string slice in a given base to an integer.
0 commit comments