Skip to content

Commit b56f325

Browse files
authored
Merge pull request #498 from khuey/clone-futureresult
Make FutureResult Clone.
2 parents ef782ca + 225b751 commit b56f325

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/future/result.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ use {Future, Poll, Async};
77
/// A future representing a value that is immediately ready.
88
///
99
/// Created by the `result` function.
10-
#[derive(Debug)]
10+
#[derive(Debug, Clone)]
1111
#[must_use = "futures do nothing unless polled"]
1212
// TODO: rename this to `Result` on the next major version
1313
pub struct FutureResult<T, E> {

0 commit comments

Comments
 (0)