1
Fork 0

Rollup merge of #96567 - alex-semenyuk:fix_docs_for_logs_func, r=Mark-Simulacrum

Fix docs for u32 and i32 logs func

Closes #96545
This commit is contained in:
Yuki Okushi 2022-05-02 10:41:57 +09:00 committed by GitHub
commit f58135449e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 6 deletions

View file

@ -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.
///
@ -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
@ -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

View file

@ -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
@ -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
@ -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