Rename PeripheralBorrow to Unborrow
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user