mirror of
https://github.com/m-labs/artiq.git
synced 2024-12-25 03:08:27 +08:00
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
Block a user