X-Git-Url: https://git.ralfj.de/rust-101.git/blobdiff_plain/816ab35bec9dec1571988fcf97e57a38a32f5ff5..6a83fbe44cc324f35f99da3ad290f0c0ef71260c:/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();