Function kalloc::wrapper::r2a[][src]

pub fn r2a<T>(r: Result<T, TryReserveError>) -> Result<T, AllocError>
Expand description

Map TryReserveError to AllocError for consistency.