Add boards/ && cargo clippy
This commit is contained in:
parent
b96db03e48
commit
04bb890fb7
17 changed files with 73 additions and 93 deletions
|
@ -25,7 +25,7 @@ impl Processor {
|
|||
self.current.take()
|
||||
}
|
||||
pub fn current(&self) -> Option<Arc<TaskControlBlock>> {
|
||||
self.current.as_ref().map(|task| Arc::clone(task))
|
||||
self.current.as_ref().map(Arc::clone)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue