about summary refs log tree commit diff
diff options
context:
space:
mode:
authorBrian Anderson <andersrb@gmail.com>2012-02-11 15:17:10 -0800
committerBrian Anderson <andersrb@gmail.com>2012-02-11 15:17:10 -0800
commit85ab9b9e9f889acc199f544dd31494d2c0d6a508 (patch)
treebef3bab92658abe792c9ca7af78b09c96a3010ca
parent3f15a28b169530ab6f6d015f667cc74f627016e5 (diff)
parent0e5922a0b10b96ce70f115d522b1934808c2244c (diff)
downloadrust-85ab9b9e9f889acc199f544dd31494d2c0d6a508.tar.gz
rust-85ab9b9e9f889acc199f544dd31494d2c0d6a508.zip
Merge pull request #1810 from uasi/fix-typo
Fix typo in either.rs
-rw-r--r--src/libcore/either.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcore/either.rs b/src/libcore/either.rs
index e3dadaa7e38..31f43a4c9dc 100644
--- a/src/libcore/either.rs
+++ b/src/libcore/either.rs
@@ -113,7 +113,7 @@ pure fn is_left<T, U>(eith: t<T, U>) -> bool {
 }
 
 /*
-Function: is_left
+Function: is_right
 
 Checks whether the given value is a right
 */