work on Intro; import code from previous parts where appropriate
[rust-101.git] / src / part00.rs
index 90b04ef75bd6bf15d1ccc66b4cbf496c168e70ac..c92200770debf3414acdc778a23ac88a8e3655af 100644 (file)
@@ -91,7 +91,7 @@ fn print_number_or_nothing(n: NumberOrNothing) {
 }
 
 // Putting it all together:
 }
 
 // Putting it all together:
-pub fn part_main() {
+pub fn main() {
     let vec = read_vec();
     let min = vec_min(vec);
     print_number_or_nothing(min);
     let vec = read_vec();
     let min = vec_min(vec);
     print_number_or_nothing(min);