File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -2189,7 +2189,7 @@ macro_rules! int_impl {
2189
2189
///
2190
2190
/// # Panics
2191
2191
///
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
2193
2193
/// panics in debug mode and the return value is 0 in release
2194
2194
/// mode.
2195
2195
///
@@ -2223,7 +2223,7 @@ macro_rules! int_impl {
2223
2223
///
2224
2224
/// # Panics
2225
2225
///
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
2227
2227
/// is 0 in release mode.
2228
2228
///
2229
2229
/// # Examples
@@ -2256,7 +2256,7 @@ macro_rules! int_impl {
2256
2256
///
2257
2257
/// # Panics
2258
2258
///
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
2260
2260
/// is 0 in release mode.
2261
2261
///
2262
2262
/// # Example
You can’t perform that action at this time.
0 commit comments