-
Notifications
You must be signed in to change notification settings - Fork 1.6k
RFC 48 not updated to reflect meeting decision #196
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
Comments
Actually I was unsure whether I wanted to make a change for supertraits. But you have reminded me of one concrete concern that I did have and forgot to voice. I wanted to permit private traits in type parameter bound lists. I don't see the harm (it doesn't expose values or types that would otherwise be hidden, I believe) and there is a concrete use case: permitting you to limit the types to which a function can be applied to a set you completely control. We use this (or could use this) for atomic integers. With respect to private supertraits my concern is that we would need to specify the interaction with method privacy. I held back on recommending a change because it seemed rather complicated. Niko -------- Original message -------- According to the meeting notes on RFC 48 (PR #136), at the end, @nikomatsakis says that he wants to make a change for private supertraits. Presumably this means changing the RFC to allow them. However, the RFC was merged without any such change. — |
Never mind, having discussed more with @aturon and thought about this I think I've decided I don't feel any change is needed. |
simplify the docs example for fold()
According to the meeting notes on RFC 48 (PR #136), at the end, @nikomatsakis says that he wants to make a change for private supertraits. Presumably this means changing the RFC to allow them. However, the RFC was merged without any such change.
The text was updated successfully, but these errors were encountered: