fn vec_alloc() {
    info!("Allocating a vector through the `alloc` crate");

    let mut values = vec![-5, 16, 23, 4, 0];

    values.sort_unstable();

    assert_eq!(values[..], [-5, 0, 4, 16, 23], "Failed to sort vector");
}
// Simple test to ensure our custom allocator works with the `alloc` crate.
Simple test to ensure our custom allocator works with the `alloc` crate.
Simple test to ensure our custom allocator works with the ` alloc ` crate .
fn vec_alloc() {
    info!("Allocating a vector through the `alloc` crate");
    let mut values = vec![-5, 16, 23, 4, 0];
    values.sort_unstable();
    assert_eq!(values[..], [-5, 0, 4, 16, 23], "Failed to sort vector");
}
fn vec_alloc ( ) { info ! ( " " ) ; let mut values = vec ! [ 5 16 23 4 0 ] ; values . sort_unstable ( ) ; assert_eq ! ( values [ ] [ 5 0 4 16 23 ] " " ) ; }
Simple test to ensure our custom allocator works with the `alloc` crate.
Simple test to ensure our custom allocator works with the ` alloc ` crate .