-
Notifications
You must be signed in to change notification settings - Fork 211
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
Remove prelude. #282
Remove prelude. #282
Conversation
r? @ryankurte (rust-highfive has picked a reviewer for you, use r? to override) |
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 to me, thanks!
This is missing a CHANGELOG.md entry |
Added changelog. to avoid conflicts this PR now depends on #280 |
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.
LGTM, thanks!
bors r+
DEPENDS on #280
Following discussions in #280 #281, we might want to use the same method names for the
blocking
andnb
(and in the future,futures
) trait flavors.In that case, importing the prelude guarantees naming conflicts, so it's better to remove it.
An alternative would be splitting the prelude in
blocking
andnb
. However, users often use blocking trait A and nonblocking trait B at the same time, so they'd end up importing both preludes and having name conflicts anyway.