File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 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 {
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
Original file line number Diff line number Diff line change @@ -689,7 +689,7 @@ macro_rules! uint_impl {
689689 ///
690690 /// # Panics
691691 ///
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;
693693 /// it panics in debug mode and the return value is 0 in release mode.
694694 ///
695695 /// # Examples
@@ -722,7 +722,7 @@ macro_rules! uint_impl {
722722 ///
723723 /// # Panics
724724 ///
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
726726 /// the return value is 0 in release mode.
727727 ///
728728 /// # Examples
@@ -755,7 +755,7 @@ macro_rules! uint_impl {
755755 ///
756756 /// # Panics
757757 ///
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
759759 /// return value is 0 in release mode.
760760 ///
761761 /// # Example
You can’t perform that action at this time.
0 commit comments