Skip to content

non-prelude usage #455

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

Closed
Nemo157 opened this issue Nov 5, 2019 · 1 comment · Fixed by #459
Closed

non-prelude usage #455

Nemo157 opened this issue Nov 5, 2019 · 1 comment · Fixed by #459
Labels
api design Open design questions documentation Improvements or additions to documentation enhancement New feature or request feedback wanted Needs feedback from users

Comments

@Nemo157
Copy link

Nemo157 commented Nov 5, 2019

I was browsing the documentation today and noticed that there doesn't appear to be any way to use the extension methods without importing the prelude (e.g. async_std::io::Read::read). Is there a plan in place for providing access to these methods for users that avoid glob imports?

@ghost
Copy link

ghost commented Nov 5, 2019

I suggest we re-export extension traits in async_std::prelude without hiding them in docs and renaming with as _.

@ghost ghost added api design Open design questions documentation Improvements or additions to documentation enhancement New feature or request feedback wanted Needs feedback from users labels Nov 5, 2019
@dignifiedquire
Copy link
Member

yes please, I have had multiple issues with those being hidden, when needing to distinguish between differnt imported traits.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api design Open design questions documentation Improvements or additions to documentation enhancement New feature or request feedback wanted Needs feedback from users
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants