Function kalloc::wrapper::r2a [−][src]
pub fn r2a<T>(r: Result<T, TryReserveError>) -> Result<T, AllocError>
Expand description
Map TryReserveError to AllocError for consistency.
pub fn r2a<T>(r: Result<T, TryReserveError>) -> Result<T, AllocError>
Map TryReserveError to AllocError for consistency.