From 3af4d351a3313e7b78f50dca4136ed3870ac4d98 Mon Sep 17 00:00:00 2001 From: Pcornat Date: Thu, 1 Dec 2022 22:21:04 +0100 Subject: [PATCH] Better --- src/main.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main.rs b/src/main.rs index 0291b62..5e106ff 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,10 +1,10 @@ -use _1_calorie_counting::prob1::solve; +use _1_calorie_counting::prob1; fn main() { let args: Vec = std::env::args().collect(); let file_path = args .get(1) .expect("Please provide an argument on command-line."); - let max = solve(file_path); + let max = prob1::solve(file_path); println!("{max}"); }