Skip to content

Commit ecb7c5f

Browse files
committed
Derive Clone on SinkMapErr
1 parent 7550663 commit ecb7c5f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

futures-util/src/sink/map_err.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ use futures_sink::{Sink};
55
use pin_utils::{unsafe_pinned, unsafe_unpinned};
66

77
/// Sink for the [`sink_map_err`](super::SinkExt::sink_map_err) method.
8-
#[derive(Debug)]
8+
#[derive(Debug, Clone)]
99
#[must_use = "sinks do nothing unless polled"]
1010
pub struct SinkMapErr<Si, F> {
1111
sink: Si,

0 commit comments

Comments
 (0)