File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -545,7 +545,7 @@ div_impl_float! { f32 f64 }
545
545
#[ lang = "rem" ]
546
546
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
547
547
#[ rustc_on_unimplemented(
548
- message = "cannot rem `{Self}` by `{Rhs}`" ,
548
+ message = "cannot calculate the remainder of `{Self}` divided by `{Rhs}`" ,
549
549
label = "no implementation for `{Self} % {Rhs}`"
550
550
) ]
551
551
#[ doc( alias = "%" ) ]
@@ -981,7 +981,7 @@ div_assign_impl! { usize u8 u16 u32 u64 u128 isize i8 i16 i32 i64 i128 f32 f64 }
981
981
#[ lang = "rem_assign" ]
982
982
#[ stable( feature = "op_assign_traits" , since = "1.8.0" ) ]
983
983
#[ rustc_on_unimplemented(
984
- message = "cannot rem- assign `{Self}` by `{Rhs}` `" ,
984
+ message = "cannot calculate and assign the remainder of `{Self}` divided by `{Rhs}`" ,
985
985
label = "no implementation for `{Self} %= {Rhs}`"
986
986
) ]
987
987
#[ doc( alias = "%" ) ]
You can’t perform that action at this time.
0 commit comments