Add missing newlines
This commit is contained in:
parent
40617fea04
commit
18d3c803de
@ -15,6 +15,7 @@ impl DropBomb {
|
|||||||
pub fn new() -> Self {
|
pub fn new() -> Self {
|
||||||
Self { _private: () }
|
Self { _private: () }
|
||||||
}
|
}
|
||||||
|
|
||||||
// Diffuses the bomb, rendering it safe to drop.
|
// Diffuses the bomb, rendering it safe to drop.
|
||||||
pub fn defuse(self) {
|
pub fn defuse(self) {
|
||||||
mem::forget(self)
|
mem::forget(self)
|
||||||
|
@ -32,6 +32,7 @@ impl<T: Send> Signal<T> {
|
|||||||
state: UnsafeCell::new(State::None),
|
state: UnsafeCell::new(State::None),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Mark this Signal as completed.
|
/// Mark this Signal as completed.
|
||||||
pub fn signal(&self, val: T) {
|
pub fn signal(&self, val: T) {
|
||||||
cortex_m::interrupt::free(|_| unsafe {
|
cortex_m::interrupt::free(|_| unsafe {
|
||||||
|
Loading…
Reference in New Issue
Block a user