auto merge of #13580 : DiamondLovesYou/rust/std-result-hash, r=alexcrichton

Title says it all.
This commit is contained in:
bors 2014-04-17 22:41:22 -07:00
commit c834bf45c4

View File

@ -275,7 +275,7 @@ use option::{None, Option, Some};
/// `Result` is a type that represents either success (`Ok`) or failure (`Err`).
///
/// See the [`std::result`](index.html) module documentation for details.
#[deriving(Clone, Eq, Ord, TotalEq, TotalOrd, Show)]
#[deriving(Clone, Eq, Ord, TotalEq, TotalOrd, Show, Hash)]
#[must_use]
pub enum Result<T, E> {
/// Contains the success value