-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Add an example of converting a string to an int #140
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
We don't have it at the moment. (Would you volunteer to write one? :-)) I think we should add two (or maybe just one) sub-chapters about In any case, I think one should be able to find this example by searching for "conversion" or "convert" in the site searchbar. |
Would it be a good idea to have a "Basic Operation" chapter with sections on things like this and other very common functions? For example |
@nixpulvis I would put |
I like that, "Conversions" might make sense to go right after "Casting". |
@steveklabnik Just wanted to check did we need anything else to close this one off? 😄 |
We're good! |
The Rust cheatsheet was recently removed (see here) in favor of Rust by Example. One thing I used the cheatsheet for repeatedly, because I can never remember it for some reason, is how to convert a string to an int. Rust by Example does not appear to have such an example, or at least I was not able to find it by searching both on the site and on Github.
The text was updated successfully, but these errors were encountered: