diff options
Diffstat (limited to 'src/libcore')
| -rw-r--r-- | src/libcore/either.rs | 4 | ||||
| -rw-r--r-- | src/libcore/result.rs | 4 |
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 */ |
