Rename PeripheralBorrow to Unborrow

This commit is contained in:
Dario Nieuwenhuis
2021-04-14 19:59:52 +02:00
parent bac53e3e55
commit 97ca54fa66
12 changed files with 61 additions and 64 deletions

View File

@ -1,15 +1,16 @@
//! Async utilities
mod critical_section;
mod drop_bomb;
mod forever;
mod mutex;
mod on_drop;
mod portal;
mod signal;
mod critical_section;
#[cfg_attr(feature = "executor-agnostic", path = "waker_agnostic.rs")]
mod waker;
pub use critical_section::*;
pub use drop_bomb::*;
pub use forever::*;
pub use mutex::*;
@ -17,9 +18,8 @@ pub use on_drop::*;
pub use portal::*;
pub use signal::*;
pub use waker::*;
pub use critical_section::*;
pub trait PeripheralBorrow {
pub trait Unborrow {
type Target;
unsafe fn unborrow(self) -> Self::Target;
}