-
Notifications
You must be signed in to change notification settings - Fork 367
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
Add Insufficient covariance check makes self_cell unsound #1818
Conversation
@steffahn thoughts? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, I'm happy to merge as soon as @steffahn approves. Thanks!
There's a discussion to be had, whether a fixed |
Yes, that would look like: affected = ["<= 0.10.2", ">1.0.0, <= 1.0.1"]
patched = ["0.10.3", ">= 1.0.2"] |
The description is okay, though it reads a bit as if the covariance check used to not work at all. Maybe the sentence
could become
also removing the mention of “interior-mutability” which is hard to understand in this context, anyways. |
Does affected = ["<= 0.10.2", ">= 1.0.0, <= 1.0.1"]
patched = ["0.10.3", ">= 1.0.2"] Perhaps also, to mention fewer distinct boundaries: affected = ["< 0.10.3", ">= 1.0.0, < 1.0.2"]
patched = [">= 0.10.3, < 1.0.0", ">= 1.0.2"] Edit: (Also see my next comment below…) patched = [">= 0.10.3, < 1.0.0", ">= 1.0.2"] |
The latter looks good, yeah |
1770736
to
4ac343e
Compare
Looks like there was a confusion in the advice here. An |
4ac343e
to
3509ea6
Compare
@Shnatsel, this should be good to merge now. The |
No description provided.