pw: channel: always impl Clone for Sender
derive(Clone) would not impl Clone
for Sender<T>
where T
is not Clone
, despite Sender<T>
holds only Arc
and is safely cloneable.
So just manually impl Clone
for Sender
.
derive(Clone) would not impl Clone
for Sender<T>
where T
is not Clone
, despite Sender<T>
holds only Arc
and is safely cloneable.
So just manually impl Clone
for Sender
.