File tree 1 file changed +0
-4
lines changed
1 file changed +0
-4
lines changed Original file line number Diff line number Diff line change @@ -790,8 +790,6 @@ macro_rules! nonzero_integer_signedness_dependent_impls {
790
790
impl Div <$Ty> for $Int {
791
791
type Output = $Int;
792
792
793
- /// This operation rounds towards zero,
794
- /// truncating any fractional part of the exact result, and cannot panic.
795
793
#[ inline]
796
794
fn div( self , other: $Ty) -> $Int {
797
795
// SAFETY: div by zero is checked because `other` is a nonzero,
@@ -802,8 +800,6 @@ macro_rules! nonzero_integer_signedness_dependent_impls {
802
800
803
801
#[ stable( feature = "nonzero_div_assign" , since = "CURRENT_RUSTC_VERSION" ) ]
804
802
impl DivAssign <$Ty> for $Int {
805
- /// This operation rounds towards zero,
806
- /// truncating any fractional part of the exact result, and cannot panic.
807
803
#[ inline]
808
804
fn div_assign( & mut self , other: $Ty) {
809
805
* self = * self / other;
You can’t perform that action at this time.
0 commit comments