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
6 changes: 3 additions & 3 deletions library/core/src/num/int_macros.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2189,7 +2189,7 @@ macro_rules! int_impl {
///
/// # Panics
///
/// When the number is zero, or if the base is not at least 2; it
/// When the number is negative, zero, or if the base is not at least 2; it
/// panics in debug mode and the return value is 0 in release
/// mode.
///
Expand Down Expand Up @@ -2223,7 +2223,7 @@ macro_rules! int_impl {
///
/// # Panics
///
/// When the number is zero it panics in debug mode and the return value
/// When the number is negative or zero it panics in debug mode and the return value
/// is 0 in release mode.
///
/// # Examples
Expand Down Expand Up @@ -2256,7 +2256,7 @@ macro_rules! int_impl {
///
/// # Panics
///
/// When the number is zero it panics in debug mode and the return value
/// When the number is negative or zero it panics in debug mode and the return value
/// is 0 in release mode.
///
/// # Example
Expand Down
6 changes: 3 additions & 3 deletions library/core/src/num/uint_macros.rs
Original file line number Diff line number Diff line change
Expand Up @@ -689,7 +689,7 @@ macro_rules! uint_impl {
///
/// # Panics
///
/// When the number is negative, zero, or if the base is not at least 2;
/// When the number is zero, or if the base is not at least 2;
/// it panics in debug mode and the return value is 0 in release mode.
///
/// # Examples
Expand Down Expand Up @@ -722,7 +722,7 @@ macro_rules! uint_impl {
///
/// # Panics
///
/// When the number is negative or zero it panics in debug mode and
/// When the number is zero it panics in debug mode and
/// the return value is 0 in release mode.
///
/// # Examples
Expand Down Expand Up @@ -755,7 +755,7 @@ macro_rules! uint_impl {
///
/// # Panics
///
/// When the number is negative or zero it panics in debug mode and the
/// When the number is zero it panics in debug mode and the
/// return value is 0 in release mode.
///
/// # Example
Expand Down