Skip to content

Fix docs for u32 and i32 logs func #96567

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
May 2, 2022
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