Skip to content

Commit 6ee70bc

Browse files
Fix documentation for log functions int
1 parent ec90f9d commit 6ee70bc

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

library/core/src/num/int_macros.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2189,7 +2189,7 @@ macro_rules! int_impl {
21892189
///
21902190
/// # Panics
21912191
///
2192-
/// When the number is zero, or if the base is not at least 2; it
2192+
/// When the number is negative, zero, or if the base is not at least 2; it
21932193
/// panics in debug mode and the return value is 0 in release
21942194
/// mode.
21952195
///
@@ -2223,7 +2223,7 @@ macro_rules! int_impl {
22232223
///
22242224
/// # Panics
22252225
///
2226-
/// When the number is zero it panics in debug mode and the return value
2226+
/// When the number is negative or zero it panics in debug mode and the return value
22272227
/// is 0 in release mode.
22282228
///
22292229
/// # Examples
@@ -2256,7 +2256,7 @@ macro_rules! int_impl {
22562256
///
22572257
/// # Panics
22582258
///
2259-
/// When the number is zero it panics in debug mode and the return value
2259+
/// When the number is negative or zero it panics in debug mode and the return value
22602260
/// is 0 in release mode.
22612261
///
22622262
/// # Example

0 commit comments

Comments
 (0)