## test_function()

    pub fn test_function() {
        let array = [0; 32];

        for number in array {
            println!("{}", number);
        }

        println!("Hello, world!");
    }

RUST

Does the silly!
A multiline one!?!?

## write_file()

    pub fn write_file<T: serde::Serialize>(
        library: T,
        path: PathBuf,
    ) -> Result<(), Box<dyn Error>> {
        // Create a temporary name for writing out
        let mut writer_name = path.clone();
        writer_name.set_extension("tmp");

        // Create a new BufWriter on the file and a snap frame encoder
        let writer = BufWriter::new(File::create(&writer_name)?);
        let mut e = snap::write::FrameEncoder::new(writer);

        // Write out the data
        bincode::serde::encode_into_std_write(
            library,
            &mut e,
            bincode::config::standard()
                .with_little_endian()
                .with_variable_int_encoding(),
        )?;
        fs::rename(writer_name, &path)?;

        Ok(())
    }

RUST

Write any data structure which implements [serde::Serialize] out to a [bincode] encoded file compressed using [snap]