firmware: derive Clone for Mutex.

This commit is contained in:
whitequark 2018-09-15 15:24:31 +00:00
parent c8cd830118
commit c33f74dabe
1 changed files with 1 additions and 0 deletions

View File

@ -265,6 +265,7 @@ impl<'a> Io<'a> {
}
}
#[derive(Clone)]
pub struct Mutex(Urc<Cell<bool>>);
impl Mutex {