-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
Ch04-03 Slices - String is coerced to &str #2298
Comments
Thanks for this! You're right that we could also mention this here, but there's already a lot going on, and understanding this requires knowledge we learn a lot later. I think i'd like to keep it as-is for now. Thank you! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Regarding listing-04-09: &String is actually coerced to &str as of rust-lang/rust#21351.
Should this be mentioned at this point in the book?
The text was updated successfully, but these errors were encountered: