Skip to content

Commit 77ef242

Browse files
authored
Be forward compatible with rust-lang/rust#59928
1 parent 5732dba commit 77ef242

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/unordered.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -193,5 +193,5 @@ impl<O, E> ResultTrait for Result<O, E> {
193193
type Err = E;
194194

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

0 commit comments

Comments
 (0)