Skip to content

Commit

Permalink
Derive Clone on SupervisorHandle
Browse files Browse the repository at this point in the history
  • Loading branch information
romac committed Sep 24, 2020
1 parent 978190d commit 07a2427
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion light-client/src/supervisor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,8 @@ impl Supervisor {

/// A [`Handle`] to the [`Supervisor`] which allows to communicate with
/// the supervisor across thread boundaries via message passing.
struct SupervisorHandle {
#[derive(Clone)]
pub struct SupervisorHandle {
sender: channel::Sender<HandleInput>,
}

Expand Down

0 comments on commit 07a2427

Please sign in to comment.