-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Add how to use the std library documentation #497
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
The types that need the On Tue, Mar 10, 2015 at 12:33 PM, mdinger notifications@github.com wrote:
"Unjust laws exist; shall we be content to obey them, or shall we endeavor |
Maybe built-in is what I was thinking of. Not core. |
Yeah, I thought there were some types defined in core that have On Tue, Mar 10, 2015 at 12:37 PM, mdinger notifications@github.com wrote:
"Unjust laws exist; shall we be content to obey them, or shall we endeavor |
I tried to give an overview of an approach to reading the std libs on reddit. This may be helpful when this bug eventually gets implemented. |
I'm going to close this in favor of rust-lang/rust#40116; we want to have this with std, not with RBE. |
The
std
library can be confusing, especially if you haven't used them yet. Add a how to read the std library section. It should do:type
Ext is a common convention for where the most important methods go.built-in
built-in
then you cannot extend it fromstd
. So you need a new trait. That's whytype
Ext are there.trait
, you can examine theimplementors
to determine which types have that ability.type
which impementsDeref
will have methods available from non-obvious sources. This is detailed on reddit[EDITS]
core
tobuilt-in
Deref
bulletThe text was updated successfully, but these errors were encountered: