summary refs log tree commit diff
path: root/src/libcore
diff options
context:
space:
mode:
authorPatrick Walton <pcwalton@mimiga.net>2012-01-19 19:08:08 -0800
committerPatrick Walton <pcwalton@mimiga.net>2012-01-19 19:08:49 -0800
commit6222e98dda4bd3abfe2fdf447535111bfda4d518 (patch)
treeac66cf030f3cf9c7110dd4c96a58bb933384291b /src/libcore
parent2d2bdfe84531522e4c0967b1d2c07055f299ce39 (diff)
downloadrust-6222e98dda4bd3abfe2fdf447535111bfda4d518.tar.gz
rust-6222e98dda4bd3abfe2fdf447535111bfda4d518.zip
lib: ';' to ',' in enums in more places
Diffstat (limited to 'src/libcore')
-rw-r--r--src/libcore/either.rs4
-rw-r--r--src/libcore/result.rs4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/libcore/either.rs b/src/libcore/either.rs
index 578f21cbe5c..29595a37b4a 100644
--- a/src/libcore/either.rs
+++ b/src/libcore/either.rs
@@ -12,9 +12,9 @@ The either type
 */
 enum t<T, U> {
     /* Variant: left */
-    left(T);
+    left(T),
     /* Variant: right */
-    right(U);
+    right(U),
 }
 
 /* Section: Operations */
diff --git a/src/libcore/result.rs b/src/libcore/result.rs
index cbfe7b1b465..50dd7fcd21a 100644
--- a/src/libcore/result.rs
+++ b/src/libcore/result.rs
@@ -17,13 +17,13 @@ enum t<T, U> {
 
     Contains the result value
     */
-    ok(T);
+    ok(T),
     /*
     Variant: err
 
     Contains the error value
     */
-    err(U);
+    err(U),
 }
 
 /* Section: Operations */