Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use match expression directly in guide.md
Use a match expression directly in the println statement, instead of creating a second variable.
- Loading branch information
Showing
1 changed file
with
6 additions
and
8 deletions.
There are no files selected for viewing
This file contains 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
ce83a24
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 thestinger
at jrincayc@ce83a24
ce83a24
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 jrincayc/rust/match_exp = ce83a24 into auto
ce83a24
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.
jrincayc/rust/match_exp = ce83a24 merged ok, testing candidate = c46812f
ce83a24
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.
all tests pass:
success: http://buildbot.rust-lang.org/builders/auto-mac-32-opt/builds/1863
success: http://buildbot.rust-lang.org/builders/auto-mac-64-opt/builds/1862
success: http://buildbot.rust-lang.org/builders/auto-mac-64-nopt-c/builds/1855
success: http://buildbot.rust-lang.org/builders/auto-mac-64-nopt-t/builds/1862
success: http://buildbot.rust-lang.org/builders/auto-linux-32-opt/builds/1856
success: http://buildbot.rust-lang.org/builders/auto-linux-32-nopt-c/builds/1855
success: http://buildbot.rust-lang.org/builders/auto-linux-32-nopt-t/builds/1855
success: http://buildbot.rust-lang.org/builders/auto-linux-64-opt/builds/1859
success: http://buildbot.rust-lang.org/builders/auto-linux-64-nopt-c/builds/1853
success: http://buildbot.rust-lang.org/builders/auto-linux-64-nopt-t/builds/1852
success: http://buildbot.rust-lang.org/builders/auto-linux-64-x-android-t/builds/1855
success: http://buildbot.rust-lang.org/builders/auto-win-32-opt/builds/1510
success: http://buildbot.rust-lang.org/builders/auto-win-32-nopt-t/builds/1510
success: http://buildbot.rust-lang.org/builders/auto-win-32-nopt-c/builds/1513
success: http://buildbot.rust-lang.org/builders/auto-win-64-opt/builds/350
success: http://buildbot.rust-lang.org/builders/auto-win-64-nopt-t/builds/351
success: http://buildbot.rust-lang.org/builders/auto-win-64-nopt-c/builds/342
ce83a24
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.
fast-forwarding master to auto = c46812f