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 {