File tree 2 files changed +6
-6
lines changed
2 files changed +6
-6
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
Original file line number Diff line number Diff line change @@ -689,7 +689,7 @@ macro_rules! uint_impl {
689
689
///
690
690
/// # Panics
691
691
///
692
- /// When the number is negative, zero, or if the base is not at least 2;
692
+ /// When the number is zero, or if the base is not at least 2;
693
693
/// it panics in debug mode and the return value is 0 in release mode.
694
694
///
695
695
/// # Examples
@@ -722,7 +722,7 @@ macro_rules! uint_impl {
722
722
///
723
723
/// # Panics
724
724
///
725
- /// When the number is negative or zero it panics in debug mode and
725
+ /// When the number is zero it panics in debug mode and
726
726
/// the return value is 0 in release mode.
727
727
///
728
728
/// # Examples
@@ -755,7 +755,7 @@ macro_rules! uint_impl {
755
755
///
756
756
/// # Panics
757
757
///
758
- /// When the number is negative or zero it panics in debug mode and the
758
+ /// When the number is zero it panics in debug mode and the
759
759
/// return value is 0 in release mode.
760
760
///
761
761
/// # Example
You can’t perform that action at this time.
0 commit comments