11/// The addition operator `+`. 
22/// 
3- /// Note that `RHS ` is `Self` by default, but this is not mandatory. For 
3+ /// Note that `Rhs ` is `Self` by default, but this is not mandatory. For 
44/// example, [`std::time::SystemTime`] implements `Add<Duration>`, which permits 
55/// operations of the form `SystemTime = SystemTime + Duration`. 
66/// 
6767#[ stable( feature = "rust1" ,  since = "1.0.0" ) ]  
6868#[ rustc_on_unimplemented(  
6969 on(  
70-  all( _Self="{integer}" ,  RHS ="{float}" ) ,  
70+  all( _Self="{integer}" ,  Rhs ="{float}" ) ,  
7171 message="cannot add a float to an integer" ,  
7272 ) ,  
7373 on(  
74-  all( _Self="{float}" ,  RHS ="{integer}" ) ,  
74+  all( _Self="{float}" ,  Rhs ="{integer}" ) ,  
7575 message="cannot add an integer to a float" ,  
7676 ) ,  
77-  message="cannot add `{RHS }` to `{Self}`" ,  
78-  label="no implementation for `{Self} + {RHS }`" ,  
77+  message="cannot add `{Rhs }` to `{Self}`" ,  
78+  label="no implementation for `{Self} + {Rhs }`" ,  
7979) ] 
8080#[ doc( alias = "+" ) ]  
81- pub  trait  Add < RHS =Self >  { 
81+ pub  trait  Add < Rhs =Self >  { 
8282 /// The resulting type after applying the `+` operator. 
8383#[ stable( feature = "rust1" ,  since = "1.0.0" ) ]  
8484 type  Output ; 
8585
8686 /// Performs the `+` operation. 
8787#[ must_use]  
8888 #[ stable( feature = "rust1" ,  since = "1.0.0" ) ]  
89-  fn  add ( self ,  rhs :  RHS )  -> Self :: Output ; 
89+  fn  add ( self ,  rhs :  Rhs )  -> Self :: Output ; 
9090} 
9191
9292macro_rules!  add_impl { 
@@ -108,7 +108,7 @@ add_impl! { usize u8 u16 u32 u64 u128 isize i8 i16 i32 i64 i128 f32 f64 }
108108
109109/// The subtraction operator `-`. 
110110/// 
111- /// Note that `RHS ` is `Self` by default, but this is not mandatory. For 
111+ /// Note that `Rhs ` is `Self` by default, but this is not mandatory. For 
112112/// example, [`std::time::SystemTime`] implements `Sub<Duration>`, which permits 
113113/// operations of the form `SystemTime = SystemTime - Duration`. 
114114/// 
@@ -173,18 +173,18 @@ add_impl! { usize u8 u16 u32 u64 u128 isize i8 i16 i32 i64 i128 f32 f64 }
173173/// ``` 
174174#[ lang = "sub" ]  
175175#[ stable( feature = "rust1" ,  since = "1.0.0" ) ]  
176- #[ rustc_on_unimplemented( message="cannot subtract `{RHS }` from `{Self}`" ,  
177-  label="no implementation for `{Self} - {RHS }`" ) ]  
176+ #[ rustc_on_unimplemented( message="cannot subtract `{Rhs }` from `{Self}`" ,  
177+  label="no implementation for `{Self} - {Rhs }`" ) ]  
178178#[ doc( alias = "-" ) ]  
179- pub  trait  Sub < RHS =Self >  { 
179+ pub  trait  Sub < Rhs =Self >  { 
180180 /// The resulting type after applying the `-` operator. 
181181#[ stable( feature = "rust1" ,  since = "1.0.0" ) ]  
182182 type  Output ; 
183183
184184 /// Performs the `-` operation. 
185185#[ must_use]  
186186 #[ stable( feature = "rust1" ,  since = "1.0.0" ) ]  
187-  fn  sub ( self ,  rhs :  RHS )  -> Self :: Output ; 
187+  fn  sub ( self ,  rhs :  Rhs )  -> Self :: Output ; 
188188} 
189189
190190macro_rules!  sub_impl { 
@@ -206,7 +206,7 @@ sub_impl! { usize u8 u16 u32 u64 u128 isize i8 i16 i32 i64 i128 f32 f64 }
206206
207207/// The multiplication operator `*`. 
208208/// 
209- /// Note that `RHS ` is `Self` by default, but this is not mandatory. 
209+ /// Note that `Rhs ` is `Self` by default, but this is not mandatory. 
210210/// 
211211/// # Examples 
212212/// 
@@ -293,18 +293,18 @@ sub_impl! { usize u8 u16 u32 u64 u128 isize i8 i16 i32 i64 i128 f32 f64 }
293293/// ``` 
294294#[ lang = "mul" ]  
295295#[ stable( feature = "rust1" ,  since = "1.0.0" ) ]  
296- #[ rustc_on_unimplemented( message="cannot multiply `{RHS }` to `{Self}`" ,  
297-  label="no implementation for `{Self} * {RHS }`" ) ]  
296+ #[ rustc_on_unimplemented( message="cannot multiply `{Rhs }` to `{Self}`" ,  
297+  label="no implementation for `{Self} * {Rhs }`" ) ]  
298298#[ doc( alias = "*" ) ]  
299- pub  trait  Mul < RHS =Self >  { 
299+ pub  trait  Mul < Rhs =Self >  { 
300300 /// The resulting type after applying the `*` operator. 
301301#[ stable( feature = "rust1" ,  since = "1.0.0" ) ]  
302302 type  Output ; 
303303
304304 /// Performs the `*` operation. 
305305#[ must_use]  
306306 #[ stable( feature = "rust1" ,  since = "1.0.0" ) ]  
307-  fn  mul ( self ,  rhs :  RHS )  -> Self :: Output ; 
307+  fn  mul ( self ,  rhs :  Rhs )  -> Self :: Output ; 
308308} 
309309
310310macro_rules!  mul_impl { 
@@ -326,7 +326,7 @@ mul_impl! { usize u8 u16 u32 u64 u128 isize i8 i16 i32 i64 i128 f32 f64 }
326326
327327/// The division operator `/`. 
328328/// 
329- /// Note that `RHS ` is `Self` by default, but this is not mandatory. 
329+ /// Note that `Rhs ` is `Self` by default, but this is not mandatory. 
330330/// 
331331/// # Examples 
332332/// 
@@ -417,18 +417,18 @@ mul_impl! { usize u8 u16 u32 u64 u128 isize i8 i16 i32 i64 i128 f32 f64 }
417417/// ``` 
418418#[ lang = "div" ]  
419419#[ stable( feature = "rust1" ,  since = "1.0.0" ) ]  
420- #[ rustc_on_unimplemented( message="cannot divide `{Self}` by `{RHS }`" ,  
421-  label="no implementation for `{Self} / {RHS }`" ) ]  
420+ #[ rustc_on_unimplemented( message="cannot divide `{Self}` by `{Rhs }`" ,  
421+  label="no implementation for `{Self} / {Rhs }`" ) ]  
422422#[ doc( alias = "/" ) ]  
423- pub  trait  Div < RHS =Self >  { 
423+ pub  trait  Div < Rhs =Self >  { 
424424 /// The resulting type after applying the `/` operator. 
425425#[ stable( feature = "rust1" ,  since = "1.0.0" ) ]  
426426 type  Output ; 
427427
428428 /// Performs the `/` operation. 
429429#[ must_use]  
430430 #[ stable( feature = "rust1" ,  since = "1.0.0" ) ]  
431-  fn  div ( self ,  rhs :  RHS )  -> Self :: Output ; 
431+  fn  div ( self ,  rhs :  Rhs )  -> Self :: Output ; 
432432} 
433433
434434macro_rules!  div_impl_integer { 
@@ -467,7 +467,7 @@ div_impl_float! { f32 f64 }
467467
468468/// The remainder operator `%`. 
469469/// 
470- /// Note that `RHS ` is `Self` by default, but this is not mandatory. 
470+ /// Note that `Rhs ` is `Self` by default, but this is not mandatory. 
471471/// 
472472/// # Examples 
473473/// 
@@ -502,18 +502,18 @@ div_impl_float! { f32 f64 }
502502/// ``` 
503503#[ lang = "rem" ]  
504504#[ stable( feature = "rust1" ,  since = "1.0.0" ) ]  
505- #[ rustc_on_unimplemented( message="cannot mod `{Self}` by `{RHS }`" ,  
506-  label="no implementation for `{Self} % {RHS }`" ) ]  
505+ #[ rustc_on_unimplemented( message="cannot mod `{Self}` by `{Rhs }`" ,  
506+  label="no implementation for `{Self} % {Rhs }`" ) ]  
507507#[ doc( alias = "%" ) ]  
508- pub  trait  Rem < RHS =Self >  { 
508+ pub  trait  Rem < Rhs =Self >  { 
509509 /// The resulting type after applying the `%` operator. 
510510#[ stable( feature = "rust1" ,  since = "1.0.0" ) ]  
511511 type  Output  = Self ; 
512512
513513 /// Performs the `%` operation. 
514514#[ must_use]  
515515 #[ stable( feature = "rust1" ,  since = "1.0.0" ) ]  
516-  fn  rem ( self ,  rhs :  RHS )  -> Self :: Output ; 
516+  fn  rem ( self ,  rhs :  Rhs )  -> Self :: Output ; 
517517} 
518518
519519macro_rules!  rem_impl_integer { 
0 commit comments