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

Strings chapter of the book should mention how newlines can be embedded in string literals, and how string literals can chomp whitespace #29591

Closed
bstrie opened this issue Nov 4, 2015 · 0 comments
Assignees

Comments

@bstrie
Copy link
Contributor

bstrie commented Nov 4, 2015

    let x_with_a_newline_and_lots_of_whitespace = "blah
                                                   blah";
    let x_without_a_newline_or_whitespace = "blah \
                                             blah";
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants