Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add a line to the example to clarify semantics
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 .
- Loading branch information
1f6595c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
saw approval from huonw
at zookoatleastauthoritycom@1f6595c
1f6595c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
merging zookoatleastauthoritycom/rust/zooko/rust/issue-13571 = 1f6595c into auto
1f6595c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
zookoatleastauthoritycom/rust/zooko/rust/issue-13571 = 1f6595c merged ok, testing candidate = 3078d5a7
1f6595c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
some tests failed:
failure: http://buildbot.rust-lang.org/builders/auto-win-32-nopt-t/builds/4952
exception: http://buildbot.rust-lang.org/builders/auto-mac-32-opt/builds/5748
exception: http://buildbot.rust-lang.org/builders/auto-mac-64-opt/builds/5747
exception: http://buildbot.rust-lang.org/builders/auto-mac-64-nopt-c/builds/4842
exception: http://buildbot.rust-lang.org/builders/auto-mac-64-nopt-t/builds/4850
exception: http://buildbot.rust-lang.org/builders/auto-linux-32-opt/builds/5846
exception: http://buildbot.rust-lang.org/builders/auto-linux-32-nopt-c/builds/4934
exception: http://buildbot.rust-lang.org/builders/auto-linux-32-nopt-t/builds/4942
exception: http://buildbot.rust-lang.org/builders/auto-linux-64-opt/builds/5848
exception: http://buildbot.rust-lang.org/builders/auto-linux-64-nopt-c/builds/4933
exception: http://buildbot.rust-lang.org/builders/auto-linux-64-nopt-t/builds/4939
exception: http://buildbot.rust-lang.org/builders/auto-linux-64-x-android/builds/5001
exception: http://buildbot.rust-lang.org/builders/auto-linux-64-x-android-t/builds/2735
exception: http://buildbot.rust-lang.org/builders/auto-win-32-opt/builds/5841
exception: http://buildbot.rust-lang.org/builders/auto-win-32-nopt-c/builds/4937