Closed Mingun closed 4 years ago
:umbrella: The latest upstream changes (presumably #411) made this pull request unmergeable. Please resolve the merge conflicts.
@bors-servo r+
:pushpin: Commit 69a373e has been approved by nical
:hourglass: Testing commit 69a373e1e262d5c1efb819b345745c45cd9529e9 with merge 6dada4685defb6887f77c63edc192dea111c8a1b...
:sunny: Test successful - checks-travis Approved by: nical Pushing 6dada4685defb6887f77c63edc192dea111c8a1b to master...
Actually, this is part of a changes whose ultimate goal is to improve the ergonomics of the library. There are too many of them, so some of them I decided to provide in separate PRs. That is first.
Commit 19ddcfe24564ebc7b0403cbfd0c9899021082e76 introduce soft breaking change. I call it soft because very unlikely, that users faced with them, because that only replaces borrow with move for
self
parameter -- but if you don't use UFCS, you even will not notice that. And because before that changeCopy
type was required, after that change that method always called withCopy
types, so no errors, related to borrow checker, can occur if you simply upgraded to new version of the library. Benefit in that after this change you can control if you wish to make a copy, and that methods can now work with non-Copy types.