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

MemoryView lifetime tied to memory and not StoreRef #3097

Merged
merged 3 commits into from
Aug 12, 2022

Conversation

ptitSeb
Copy link
Contributor

@ptitSeb ptitSeb commented Aug 12, 2022

MemoryView lifetime tied to memory and not StoreRef

This make using MemoryView easier to use in Rust (with the Borrow checker) and still have some failsafe about the View lifetime.

@syrusakbary
Copy link
Member

We should be good to merge once tests pass

@syrusakbary syrusakbary merged commit 2ac8b77 into master Aug 12, 2022
@bors bors bot deleted the memoryview_alternate_lifetime branch August 12, 2022 10:54
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