Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove CopyOnto requirement for ReadItem #21

Merged
merged 1 commit into from
Feb 29, 2024
Merged

Conversation

antiguru
Copy link
Owner

@antiguru antiguru commented Feb 27, 2024

Remove the requirement that Region::ReadItem implements CopyOnto<Self> because it infects the region with the type bounds of the specific implementation without adding much value. It still is a good idea that implementations offer this functionality, but it seems overly restrictive to enforce this property for all implementations.

cc @ParkMyCar

Remove the requirement that `Region::ReadItem` implements `CopyOnto<Self>`
because it infects the region with the type bounds of the specific
implementation without adding much value. It still is a good idea that
implementations offer this functionality, but it seems overly restrictive
to enforce this property for all implementations.

Signed-off-by: Moritz Hoffmann <[email protected]>
@antiguru antiguru force-pushed the read_item_not_copy_onto branch from e2e1a7b to 7d6b218 Compare February 29, 2024 03:03
@antiguru antiguru merged commit cae41d8 into main Feb 29, 2024
7 checks passed
@antiguru antiguru deleted the read_item_not_copy_onto branch February 29, 2024 03:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant