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

Implement Slice for String and str #17585

Merged
merged 1 commit into from
Sep 29, 2014
Merged

Conversation

sfackler
Copy link
Member

Closes #17502

alexcrichton added a commit to alexcrichton/rust that referenced this pull request Sep 29, 2014
@bors bors merged commit aa2814f into rust-lang:master Sep 29, 2014
@sfackler sfackler deleted the string-slice branch November 26, 2016 05:52
lnicola pushed a commit to lnicola/rust that referenced this pull request Jul 28, 2024
fix: Panic in debug profile for tuple deconstruct with arity mismatch

Fixes rust-lang#17585, which doesn't affect daily use cases but quite annoying in development of r-a itself like writing tests.

This PR applies similar approach as in rust-lang#17534, skipping match usefulness check for patterns containing errors
RalfJung pushed a commit to RalfJung/rust that referenced this pull request Aug 1, 2024
fix: Panic in debug profile for tuple deconstruct with arity mismatch

Fixes rust-lang#17585, which doesn't affect daily use cases but quite annoying in development of r-a itself like writing tests.

This PR applies similar approach as in rust-lang#17534, skipping match usefulness check for patterns containing errors
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.

Use slicing syntax for str/String
3 participants