Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 3 additions & 6 deletions library/core/src/num/int_macros.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2512,8 +2512,7 @@ macro_rules! int_impl {
///
/// # Examples
///
/// Please note that this example is shared between integer types.
/// Which explains why `i32` is used here.
/// Please note that this example is shared among integer types, which is why `i32` is used.
///
/// ```
/// #![feature(bigint_helper_methods)]
Expand Down Expand Up @@ -2543,8 +2542,7 @@ macro_rules! int_impl {
///
/// # Examples
///
/// Please note that this example is shared between integer types.
/// Which explains why `i32` is used here.
/// Please note that this example is shared among integer types, which is why `i32` is used.
///
/// ```
/// #![feature(bigint_helper_methods)]
Expand Down Expand Up @@ -2581,8 +2579,7 @@ macro_rules! int_impl {
///
/// # Examples
///
/// Please note that this example is shared between integer types.
/// Which explains why `i32` is used here.
/// Please note that this example is shared among integer types, which is why `i32` is used.
///
/// ```
/// #![feature(bigint_helper_methods)]
Expand Down
4 changes: 2 additions & 2 deletions library/core/src/num/saturating.rs
Original file line number Diff line number Diff line change
Expand Up @@ -660,8 +660,8 @@ macro_rules! saturating_int_impl {
///
/// # Examples
///
/// Please note that this example is shared between integer types.
/// Which explains why `i16` is used here.
/// Please note that this example is shared among integer types, which is why `i16`
/// is used.
///
/// ```
/// use std::num::Saturating;
Expand Down
13 changes: 5 additions & 8 deletions library/core/src/num/uint_macros.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2136,8 +2136,7 @@ macro_rules! uint_impl {
///
/// # Examples
///
/// Please note that this example is shared between integer types.
/// Which explains why `u8` is used here.
/// Please note that this example is shared among integer types, which is why `u8` is used.
///
/// ```
/// assert_eq!(10u8.wrapping_mul(12), 120);
Expand Down Expand Up @@ -2627,8 +2626,8 @@ macro_rules! uint_impl {
///
/// # Examples
///
/// Please note that this example is shared between integer types.
/// Which explains why `u32` is used here.
/// Please note that this example is shared among integer types, which is why why `u32`
/// is used.
///
/// ```
/// assert_eq!(5u32.overflowing_mul(2), (10, false));
Expand All @@ -2654,8 +2653,7 @@ macro_rules! uint_impl {
///
/// # Examples
///
/// Please note that this example is shared between integer types.
/// Which explains why `u32` is used here.
/// Please note that this example is shared among integer types, which is why `u32` is used.
///
/// ```
/// #![feature(bigint_helper_methods)]
Expand Down Expand Up @@ -2685,8 +2683,7 @@ macro_rules! uint_impl {
///
/// # Examples
///
/// Please note that this example is shared between integer types.
/// Which explains why `u32` is used here.
/// Please note that this example is shared among integer types, which is why `u32` is used.
///
/// ```
/// #![feature(bigint_helper_methods)]
Expand Down
4 changes: 2 additions & 2 deletions library/core/src/num/wrapping.rs
Original file line number Diff line number Diff line change
Expand Up @@ -677,8 +677,8 @@ macro_rules! wrapping_int_impl {
///
/// # Examples
///
/// Please note that this example is shared between integer types.
/// Which explains why `i16` is used here.
/// Please note that this example is shared among integer types, which is why `i16`
/// is used.
///
/// Basic usage:
///
Expand Down
Loading