add a line to the example to clarify semantics#14123
Closed
zookoatleastauthoritycom wants to merge 1 commit intorust-lang:masterfrom
Closed
add a line to the example to clarify semantics#14123zookoatleastauthoritycom wants to merge 1 commit intorust-lang:masterfrom
zookoatleastauthoritycom wants to merge 1 commit intorust-lang:masterfrom
Conversation
This is to clarify that match construct doesn't define a new variable, since I observed a person reading the Rust tutorial who seemed to incorrectly think that it did. Fixes rust-lang#13571 .
Contributor
|
I'm sorry your filed bug never got a reaction. Thank you for following up with a fix despite our non-response. :) |
bors
added a commit
that referenced
this pull request
May 14, 2014
Closes #14184 (std: Move the owned module from core to std) Closes #14183 (Allow blocks in const expressions) Closes #14176 (Add tests for from_bits.) Closes #14175 (Replaced ~T by Box<T> in manual) Closes #14173 (Implements Default trait for BigInt and BigUint) Closes #14171 (Fix #8391) Closes #14159 (Clean up unicode code in libstd) Closes #14126 (docs: Add a not found page) Closes #14123 (add a line to the example to clarify semantics) Closes #14106 (Pretty printer improvements) Closes #14083 (rustllvm: Add LLVMRustArrayType) Closes #13957 (io: Implement process wait timeouts)
bors
added a commit
to rust-lang-ci/rust
that referenced
this pull request
Feb 20, 2023
…indivisble-expr, r=Veykril fix: Don't trigger postfix completion in `if` block which has an `else` block Fix rust-lang#14096
flip1995
added a commit
to flip1995/rust
that referenced
this pull request
Feb 20, 2025
…e the rustc version, and add tests (rust-lang#14123) changelog: Fix rustc_tools_util's `version.host_compiler` release channel, expose the rustc version, and add tests. Previously the host_compiler would be set to "nighly" on the stable channel. Generally, the field felt a bit neglected neither being printed not tested.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This is to clarify that match construct doesn't define a new variable, since I
observed a person reading the Rust tutorial who seemed to incorrectly think
that it did. Fixes #13571 .