forked from M-Labs/artiq
firmware: derive Clone for Mutex.
This commit is contained in:
parent
c8cd830118
commit
c33f74dabe
|
@ -265,6 +265,7 @@ impl<'a> Io<'a> {
|
|||
}
|
||||
}
|
||||
|
||||
#[derive(Clone)]
|
||||
pub struct Mutex(Urc<Cell<bool>>);
|
||||
|
||||
impl Mutex {
|
||||
|
|
Loading…
Reference in New Issue