-
Notifications
You must be signed in to change notification settings - Fork 216
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
MappedRwLockWriteGuard::downgrade is unsound #198
Comments
pitdicker
changed the title
MappedRwLockReadGuard::downgrade is unsound
MappedRwLockWriteGuard::downgrade is unsound
Jan 2, 2020
Nice catch! Now I just need to figure out what to do about the breaking change this will cause... |
Amanieu
added a commit
that referenced
this issue
Jan 4, 2020
I marked the function as deprecated for now, and will remove it in a future release. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I was trying to put my finger on what exactly it was that made
RefMut::downgrade
unsound in rust-lang/rust#57401, and wrote it down as part of a blog post.To quote from there (sorry to quote myself):
The text was updated successfully, but these errors were encountered: