Remove `Copy` from `Ensure*` traits (#13043)
* Remove Copy from EnsureOp and EnsureOpAssign Signed-off-by: Oliver Tale-Yazdi <[email protected]> * Remove Copy from EnsureFrom and EnsureInto Signed-off-by: Oliver Tale-Yazdi <[email protected]> * Fix default impl Signed-off-by: Oliver Tale-Yazdi <[email protected]> * Reuse assignment code in Ensure trait Signed-off-by: Oliver Tale-Yazdi <[email protected]> * Require Ensure for all BaseArithmetic types Signed-off-by: Oliver Tale-Yazdi <[email protected]> * Fix assign impls Co-authored-by: Luis Enrique Muñoz Martín <[email protected]> Signed-off-by: Oliver Tale-Yazdi <[email protected]> * Add tests Signed-off-by: Oliver Tale-Yazdi <[email protected]> * Add success doc tests Signed-off-by: Oliver Tale-Yazdi <[email protected]> Signed-off-by: Oliver Tale-Yazdi <[email protected]>
parent
841fcaba
Please register or sign in to comment