Skip to content

Commit c834bf4

Browse files
committed
auto merge of #13580 : DiamondLovesYou/rust/std-result-hash, r=alexcrichton
Title says it all.
2 parents 29a3970 + 506008f commit c834bf4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libstd/result.rs

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

0 commit comments

Comments
 (0)