Add missing newlines

This commit is contained in:
Joshua Salzedo 2021-03-24 13:21:32 -07:00
parent 40617fea04
commit 18d3c803de
No known key found for this signature in database
GPG Key ID: C3D0EB484493B731
2 changed files with 2 additions and 0 deletions

View File

@ -15,6 +15,7 @@ impl DropBomb {
pub fn new() -> Self {
Self { _private: () }
}
// Diffuses the bomb, rendering it safe to drop.
pub fn defuse(self) {
mem::forget(self)

View File

@ -32,6 +32,7 @@ impl<T: Send> Signal<T> {
state: UnsafeCell::new(State::None),
}
}
/// Mark this Signal as completed.
pub fn signal(&self, val: T) {
cortex_m::interrupt::free(|_| unsafe {