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 }
545545#[ lang = "rem" ]
546546#[ stable( feature = "rust1" , since = "1.0.0" ) ]
547547#[ rustc_on_unimplemented(
548- message = "cannot rem `{Self}` by `{Rhs}`" ,
548+ message = "cannot calculate the remainder of `{Self}` divided by `{Rhs}`" ,
549549 label = "no implementation for `{Self} % {Rhs}`"
550550) ]
551551#[ doc( alias = "%" ) ]
@@ -981,7 +981,7 @@ div_assign_impl! { usize u8 u16 u32 u64 u128 isize i8 i16 i32 i64 i128 f32 f64 }
981981#[ lang = "rem_assign" ]
982982#[ stable( feature = "op_assign_traits" , since = "1.8.0" ) ]
983983#[ rustc_on_unimplemented(
984- message = "cannot rem- assign `{Self}` by `{Rhs}` `" ,
984+ message = "cannot calculate and assign the remainder of `{Self}` divided by `{Rhs}`" ,
985985 label = "no implementation for `{Self} %= {Rhs}`"
986986) ]
987987#[ doc( alias = "%" ) ]
You can’t perform that action at this time.
0 commit comments