-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Adding several implementations that were missing. Signed-off-by: Moritz Hoffmann <[email protected]> * Replace CopyOnto by Push Swap the parameters for CopyOnto. Previously, we'd implement CopyOnto for a specific type, specifying the region as a parameter to CopyOnto. This has the undesired side-effect that downstream crates cannot implement the trait for their own regions due to Rust's orphan rules. Switching the parameters around (Push<T> for Region) moves a local type into the T0 position, which is compatible with the orphan rules. --------- Signed-off-by: Moritz Hoffmann <[email protected]>
- Loading branch information
Showing
14 changed files
with
564 additions
and
563 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.