File tree Expand file tree Collapse file tree 1 file changed +0
-4
lines changed Expand file tree Collapse file tree 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 {
790790 impl Div <$Ty> for $Int {
791791 type Output = $Int;
792792
793- /// This operation rounds towards zero,
794- /// truncating any fractional part of the exact result, and cannot panic.
795793 #[ inline]
796794 fn div( self , other: $Ty) -> $Int {
797795 // SAFETY: div by zero is checked because `other` is a nonzero,
@@ -802,8 +800,6 @@ macro_rules! nonzero_integer_signedness_dependent_impls {
802800
803801 #[ stable( feature = "nonzero_div_assign" , since = "CURRENT_RUSTC_VERSION" ) ]
804802 impl DivAssign <$Ty> for $Int {
805- /// This operation rounds towards zero,
806- /// truncating any fractional part of the exact result, and cannot panic.
807803 #[ inline]
808804 fn div_assign( & mut self , other: $Ty) {
809805 * self = * self / other;
You can’t perform that action at this time.
0 commit comments