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

Tutorial inconsistency on "alt" vs "alt check" #3028

Closed
jruderman opened this issue Jul 26, 2012 · 1 comment
Closed

Tutorial inconsistency on "alt" vs "alt check" #3028

jruderman opened this issue Jul 26, 2012 · 1 comment

Comments

@jruderman
Copy link
Contributor

"When no arm matches, alt constructs do not silently fall through—they blow up instead."

But then later:

"Having no clauses match when evaluating an alt check expression."

@ghost ghost assigned catamorphism Jul 26, 2012
@catamorphism
Copy link
Contributor

On it.

flip1995 pushed a commit to flip1995/rust that referenced this issue Jul 14, 2020
flip1995 pushed a commit to flip1995/rust that referenced this issue Jul 14, 2020
Add a lint for `.repeat(1)`

changelog: New lint `repeat_once`

fix rust-lang#3028.
bors pushed a commit to rust-lang-ci/rust that referenced this issue May 15, 2021
Fix indent computation of a macro with braces.
RalfJung pushed a commit to RalfJung/rust that referenced this issue Aug 17, 2023
…Jung

Replace hand-written binary search with Vec::binary_search_by.

It's similar to rust-lang/miri#3021 and should improve maintainability.
celinval pushed a commit to celinval/rust-dev that referenced this issue Jun 4, 2024
Upgrade toolchain to 2024-02-17. Relevant PRs:

rust-lang#120872

rust-lang#120594

Resolves rust-lang#3028 

By submitting this pull request, I confirm that my contribution is made
under the terms of the Apache 2.0 and MIT licenses.
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

No branches or pull requests

2 participants