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

Remove prelude. #282

Merged
merged 4 commits into from
Jun 29, 2021
Merged

Remove prelude. #282

merged 4 commits into from
Jun 29, 2021

Conversation

Dirbaio
Copy link
Member

@Dirbaio Dirbaio commented Jun 15, 2021

DEPENDS on #280

Following discussions in #280 #281, we might want to use the same method names for the blocking and nb (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 and nb. 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.

@Dirbaio Dirbaio requested a review from a team as a code owner June 15, 2021 19:42
@rust-highfive
Copy link

r? @ryankurte

(rust-highfive has picked a reviewer for you, use r? to override)

eldruin
eldruin previously approved these changes Jun 15, 2021
Copy link
Member

@eldruin eldruin left a 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!

@therealprof
Copy link
Contributor

This is missing a CHANGELOG.md entry

@Dirbaio
Copy link
Member Author

Dirbaio commented Jun 29, 2021

Added changelog.

to avoid conflicts this PR now depends on #280

Copy link
Contributor

@therealprof therealprof left a 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+

@bors bors bot merged commit facfe77 into rust-embedded:master Jun 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-review Review is incomplete T-hal
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants