Hello rust

from blog blog, | ↗ original
Hello rust I finally checked out Rust and solved day one of last year’s advent of code. tl;dr: use std::fs::File; use std::io::{self, prelude::*, BufReader}; // https://stackoverflow.com/a/45882510 fn main() -> io::Result()> { // https://doc.rust-lang.org/std/vec/struct.Vec.html let mut calories = Vec::new(); let mut sum: i32 = 0; ...