X-Git-Url: https://git.ralfj.de/rust-101.git/blobdiff_plain/816ab35bec9dec1571988fcf97e57a38a32f5ff5..177a1f127af6601f373be9742c31351f556633ab:/src/part01.rs diff --git a/src/part01.rs b/src/part01.rs index d046a1b..1603c14 100644 --- a/src/part01.rs +++ b/src/part01.rs @@ -79,7 +79,7 @@ impl NumberOrNothing { fn read_vec() -> Vec { vec![18,5,7,2,9,27] } -pub fn part_main() { +pub fn main() { let vec = read_vec(); let min = vec_min(vec); min.print();