Added documentation of backslash ending string literals. - #22748
Merged
Conversation
jxcl
force-pushed
the
string-backslash
branch
2 times, most recently
from
February 24, 2015 19:14
368762a to
b8a0657
Compare
Member
There was a problem hiding this comment.
Instead of this line, could you add an assert_eq!(a,b) to the code above? It makes it more implicit, and besides will get tested by our doctests.
Member
|
❤️ , this is one of the things about multiline strings that confused me initially. A small nit and you should be good to go! |
jxcl
force-pushed
the
string-backslash
branch
from
February 26, 2015 01:29
b8a0657 to
f618e2e
Compare
Contributor
|
@bors: r+ f618e2e rollup |
Contributor
|
@jxcl hey thanks! In the future, after you push new commits, please leave a comment, because GitHub doesn't notify me otherwise. Thanks for this patch! |
steveklabnik
added a commit
to steveklabnik/rust
that referenced
this pull request
Feb 26, 2015
r? @steveklabnik Closes rust-lang#22698 I wasn't sure that this was appropriate for the book, but I've added this to the reference. I also noticed that one of the U+ symbols in the character literals section was missing the graves.
Manishearth
added a commit
to Manishearth/rust
that referenced
this pull request
Feb 27, 2015
r? @steveklabnik Closes rust-lang#22698 I wasn't sure that this was appropriate for the book, but I've added this to the reference. I also noticed that one of the U+ symbols in the character literals section was missing the graves.
lnicola
pushed a commit
to lnicola/rust
that referenced
this pull request
Jul 13, 2026
…redundant-clone-for-update Remove redundant clone_for_update
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
r? @steveklabnik
Closes #22698
I wasn't sure that this was appropriate for the book, but I've added this to the reference. I also noticed that one of the U+ symbols in the character literals section was missing the graves.