diff --git a/src/libcore/num/mod.rs b/src/libcore/num/mod.rs index 851c0a0dd6f..b89aa134e73 100644 --- a/src/libcore/num/mod.rs +++ b/src/libcore/num/mod.rs @@ -103,6 +103,8 @@ macro_rules! int_impl { /// /// # Examples /// + /// Basic usage: + /// /// ``` /// assert_eq!(i8::min_value(), -128); /// ``` @@ -116,6 +118,8 @@ pub const fn min_value() -> Self { /// /// # Examples /// + /// Basic usage: + /// /// ``` /// assert_eq!(i8::max_value(), 127); /// ``` @@ -1252,6 +1256,8 @@ macro_rules! uint_impl { /// /// # Examples /// + /// Basic usage: + /// /// ``` /// assert_eq!(u8::min_value(), 0); /// ``` @@ -1263,6 +1269,8 @@ pub const fn min_value() -> Self { 0 } /// /// # Examples /// + /// Basic usage: + /// /// ``` /// assert_eq!(u8::max_value(), 255); /// ```