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 @@ -89,9 +89,9 @@ impl<T> NumRef for T where T: Num + for<'r> NumOps<&'r T> {}
89
89
/// The trait for references which implement numeric operations, taking the
90
90
/// second operand either by value or by reference.
91
91
///
92
- /// This is automatically implemented for all `&T` implementing the operators.
92
+ /// This is automatically implemented for types which implement the operators.
93
93
pub trait RefNum < Base > : NumOps < Base , Base > + for < ' r > NumOps < & ' r Base , Base > { }
94
- impl < ' a , T > RefNum < T > for & ' a T where & ' a T : NumOps < T , T > + for < ' r > NumOps < & ' r T , T > { }
94
+ impl < T , Base > RefNum < Base > for T where T : NumOps < Base , Base > + for < ' r > NumOps < & ' r Base , Base > { }
95
95
96
96
/// The trait for types implementing numeric assignment operators (like `+=`).
97
97
///
You can’t perform that action at this time.
0 commit comments