We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ef782ca commit 225b751Copy full SHA for 225b751
src/future/result.rs
@@ -7,7 +7,7 @@ use {Future, Poll, Async};
7
/// A future representing a value that is immediately ready.
8
///
9
/// Created by the `result` function.
10
-#[derive(Debug)]
+#[derive(Debug, Clone)]
11
#[must_use = "futures do nothing unless polled"]
12
// TODO: rename this to `Result` on the next major version
13
pub struct FutureResult<T, E> {
0 commit comments