Skip to content

Add examples for some StrSlice methods.#16618

Merged
bors merged 1 commit intorust-lang:masterfrom
nham:strslice_examples
Aug 20, 2014
Merged

Add examples for some StrSlice methods.#16618
bors merged 1 commit intorust-lang:masterfrom
nham:strslice_examples

Conversation

@nham
Copy link
Copy Markdown
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 `{`.
flip1995 added a commit to flip1995/rust that referenced this pull request Mar 5, 2026
Again: rust-lang/rust-clippy#14069
I did something similar in this PR before, but later changes seem to
have caused the default PR template to pass the changelog CI check.

changelog: none
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