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

Make DeviceSlice a newtype around [()] #44

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

beepster4096
Copy link
Contributor

This fixes some unsoundness and fixes some of DeviceSlice's methods and docs not making any sense (such as from_raw_parts_mut)

Copy link
Member

@RDambrosio016 RDambrosio016 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great PR, couple of things that need to be sorted out, and the changes need to be documented in the changelog

crates/cust/src/memory/device/device_slice.rs Outdated Show resolved Hide resolved
crates/cust/src/memory/device/device_slice.rs Show resolved Hide resolved
Copy link
Member

@RDambrosio016 RDambrosio016 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, just needs changelog entries

@beepster4096
Copy link
Contributor Author

Alright, changelog is upodated and merge conflicts are resolved

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.

2 participants