Function kalloc::wrapper::str_push [−][src]
pub fn str_push<T>(s: &mut String, x: char) -> Result<(), AllocError>
Expand description
OOM Wrapper to push back an element into a vector. Amortized O(1).
pub fn str_push<T>(s: &mut String, x: char) -> Result<(), AllocError>
OOM Wrapper to push back an element into a vector. Amortized O(1).