X-Git-Url: https://git.ralfj.de/rust-101.git/blobdiff_plain/816ab35bec9dec1571988fcf97e57a38a32f5ff5..931a4309e60e7a4915cfbf88dee7f0c3e875a63f:/src/part01.rs?ds=sidebyside 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();