We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents f9086f0 + ec4e5a8 commit 9d7eecbCopy full SHA for 9d7eecb
1 file changed
src/signal.rs
@@ -1176,10 +1176,12 @@ where
1176
///
1177
/// - `fork.by_rc()`: consumes self and shares the fork via `Rc<RefCell>`.
1178
/// - `fork.by_ref()`: borrows self and shares the fork via `&RefCell`.
1179
+#[derive(Clone)]
1180
pub struct Fork<S, D> {
1181
shared: RefCell<ForkShared<S, D>>,
1182
}
1183
1184
1185
struct ForkShared<S, D> {
1186
signal: S,
1187
ring_buffer: ring_buffer::Bounded<D>,
0 commit comments