]> git.lizzy.rs Git - rust.git/commit
Improve code example for try!
authorJupp Müller <jupp0r@gmail.com>
Tue, 28 Jun 2016 23:13:03 +0000 (01:13 +0200)
committerGitHub <noreply@github.com>
Tue, 28 Jun 2016 23:13:03 +0000 (01:13 +0200)
commit8f3e4989a5253f3baac79b8ee27a47aec53c0159
tree7cc2e2f65fdf98f133bb6be10cc67ecf2ec55c7f
parent366de839ae9794411419c5b579c829e18adde613
Improve code example for try!

This change improves the code example for try!,
avoiding to use try! in the example code that shows
what code constructs try! can replace.
src/libcore/result.rs