From 6222e98dda4bd3abfe2fdf447535111bfda4d518 Mon Sep 17 00:00:00 2001 From: Patrick Walton Date: Thu, 19 Jan 2012 19:08:08 -0800 Subject: lib: ';' to ',' in enums in more places --- src/libcore/either.rs | 4 ++-- src/libcore/result.rs | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'src/libcore') 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 { /* 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 { Contains the result value */ - ok(T); + ok(T), /* Variant: err Contains the error value */ - err(U); + err(U), } /* Section: Operations */ -- cgit 1.4.1-3-g733a5