Skip to content

Commit

Permalink
Be forward compatible with rust-lang/rust#59928
Browse files Browse the repository at this point in the history
  • Loading branch information
Centril authored Apr 30, 2019
1 parent 5732dba commit 77ef242
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/unordered.rs
Original file line number Diff line number Diff line change
Expand Up @@ -193,5 +193,5 @@ impl<O, E> ResultTrait for Result<O, E> {
type Err = E;

#[inline]
fn result(self) -> Result<Self::Ok, Self::Err> { self }
}
fn result(self) -> Result<O, E> { self }
}

0 comments on commit 77ef242

Please sign in to comment.