part_main -> main
[rust-101.git] / src / part03.rs
index b9b7ce8e4745ca504e19a459c3b0318de83c744a..a7cfb1aa3919638f20ee8f607d34649f06f959c6 100644 (file)
@@ -105,7 +105,7 @@ impl SomethingOrNothing<i32> {
 
 // If you update your `main.rs` to use part 03, `cargo run` should now ask you for some numbers,
 // and tell you the minimum. Neat, isn't it?
-pub fn part_main() {
+pub fn main() {
     let vec = read_vec();
     let min = vec_min(vec);
     min.print();