mirror of https://github.com/m-labs/artiq.git
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>>);
|
pub struct Mutex(Urc<Cell<bool>>);
|
||||||
|
|
||||||
impl Mutex {
|
impl Mutex {
|
||||||
|
|
Loading…
Reference in New Issue