We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents ef782ca + 225b751 commit b56f325Copy full SHA for b56f325
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