From 9b5b0cd9b98c3540301ddacdd7882061db31a8ae Mon Sep 17 00:00:00 2001 From: Danilo Bargen Date: Thu, 12 Nov 2015 00:01:55 +0100 Subject: [PATCH] Fix article in Result.map and Result.map_err documentation --- src/libcore/result.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/libcore/result.rs b/src/libcore/result.rs index c111ea8dce667..71219155cc39f 100644 --- a/src/libcore/result.rs +++ b/src/libcore/result.rs @@ -456,7 +456,7 @@ impl Result { // Transforming contained values ///////////////////////////////////////////////////////////////////////// - /// Maps a `Result` to `Result` by applying a function to an + /// Maps a `Result` to `Result` by applying a function to a /// contained `Ok` value, leaving an `Err` value untouched. /// /// This function can be used to compose the results of two functions. @@ -484,7 +484,7 @@ impl Result { } } - /// Maps a `Result` to `Result` by applying a function to an + /// Maps a `Result` to `Result` by applying a function to a /// contained `Err` value, leaving an `Ok` value untouched. /// /// This function can be used to pass through a successful result while handling