pub fn vec_examples() {
        log("\n\nvec_examples:\n");

        let example = vec![1, 2, 3, 4];

        log(&format!("Let's print a vector with debug formatting:\n{:?}\n\n", example));
        
        log(&format!("Let's print it using \"pretty print\":\n{:#?}\n\n", example));

        log(&format!("We can do the same with tuples:\n{:#?}\n\n", (1, 2, 3)));

        log(&format!("Let's create vectors with default values:\n{:?}\n\n", vec![0;5]));

        log("\n\n-------------------------------------------------------------------------------\n\n");
    }
/// Exemplo de usos de vec.
Exemplo de usos de vec.
Exemplo de usos de vec .
pub fn vec_examples() {
        log("\n\nvec_examples:\n");
        let example = vec![1, 2, 3, 4];
        log(&format!("Let's print a vector with debug formatting:\n{:?}\n\n", example));
        log(&format!("Let's print it using \"pretty print\":\n{:#?}\n\n", example));
        log(&format!("We can do the same with tuples:\n{:#?}\n\n", (1, 2, 3)));
        log(&format!("Let's create vectors with default values:\n{:?}\n\n", vec![0;5]));
        log("\n\n-------------------------------------------------------------------------------\n\n");
    }
pub fn vec_examples ( ) { log ( " \n \n \n " ) ; let example = vec ! [ 1 2 3 4 ] ; log ( & format ! ( " \n \n \n " example ) ) ; log ( & format ! ( " \" \" \n \n \n " example ) ) ; log ( & format ! ( " \n \n \n " ( 1 2 3 ) ) ) ; log ( & format ! ( " \n \n \n " vec [ 0 5 ] ) ) ; log ( " \n \n \n \n " ) ; }
Exemplo de usos de vec.
Exemplo de usos de vec .