Skip to content

Escape a single quote in single_char_pattern hint #3929

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

Merged
merged 1 commit into from
Apr 8, 2019
Merged

Escape a single quote in single_char_pattern hint #3929

merged 1 commit into from
Apr 8, 2019

Conversation

KarboniteKream
Copy link
Contributor

@KarboniteKream KarboniteKream commented Apr 8, 2019

This PR correctly escapes single quotes in the hint for single_char_pattern.
For instance, the hint for x.split("'") was ''', while it should be '\''.

@oli-obk
Copy link
Contributor

oli-obk commented Apr 8, 2019

@bors r+

@bors
Copy link
Contributor

bors commented Apr 8, 2019

📌 Commit 560fd16 has been approved by oli-obk

@bors
Copy link
Contributor

bors commented Apr 8, 2019

⌛ Testing commit 560fd16 with merge 949f584...

bors added a commit that referenced this pull request Apr 8, 2019
Escape a single quote in single_char_pattern hint

This PR correctly escapes single quotes in the hint for `single_char_pattern`.
For instance, the hint for `x.split("'")` was `'''`, while it should be `'\''`.
@bors
Copy link
Contributor

bors commented Apr 8, 2019

☀️ Test successful - checks-travis, status-appveyor
Approved by: oli-obk
Pushing 949f584 to master...

@bors bors merged commit 560fd16 into rust-lang:master Apr 8, 2019
@KarboniteKream KarboniteKream deleted the single-char-pattern branch April 8, 2019 14:28
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

Successfully merging this pull request may close these issues.

3 participants