about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJeff Parsons <jeffdougson@gmail.com>2014-11-10 21:20:11 +1100
committerJeff Parsons <jeffdougson@gmail.com>2014-11-10 21:20:11 +1100
commit2df9a085bd904dae7786a6c5d30e4a4057a16f22 (patch)
tree9500ab2b1e1a7a97ce0ded6b8cdf37c250c7d88c
parent830c82dd741b2d2a248515203a0f6a6662a0abe6 (diff)
downloadrust-2df9a085bd904dae7786a6c5d30e4a4057a16f22.tar.gz
rust-2df9a085bd904dae7786a6c5d30e4a4057a16f22.zip
Rogue 'panic' -> 'fail' in guide.
Should refer to handling panicking tasks like any other computation
that may _fail_, not any other computation that may _panic_.
-rw-r--r--src/doc/guide.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/doc/guide.md b/src/doc/guide.md
index 87816134378..473c30ab1c4 100644
--- a/src/doc/guide.md
+++ b/src/doc/guide.md
@@ -5274,7 +5274,7 @@ let result = task::try(proc() {
 
 This task will randomly panic or succeed. `task::try` returns a `Result`
 type, so we can handle the response like any other computation that may
-panic.
+fail.
 
 # Macros