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

Add examples for some StrSlice methods. #16618

Merged
merged 1 commit into from
Aug 20, 2014
Merged

Conversation

nham
Copy link
Contributor

@nham nham commented Aug 19, 2014

(By chance, the contains example was actually what I was trying to write when I discovered #16589)

bors added a commit that referenced this pull request Aug 20, 2014
(By chance, the `contains` example was actually what I was trying to write when I discovered #16589)
@bors bors closed this Aug 20, 2014
@bors bors merged commit 0821119 into rust-lang:master Aug 20, 2014
bors added a commit to rust-lang-ci/rust that referenced this pull request Feb 25, 2024
…cape-left-curly, r=Veykril

fix: Don't add `\` before `{`

Fixes rust-lang#16607 for `{`. The `}` case is already fixed by rust-lang#16475.

The [LSP snippet grammar](https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#snippet_syntax) only specifies that `$`, `}`, and `\` can be escaped with backslashes, but not `{`.
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