From: Greg Burri Date: Mon, 5 Dec 2022 11:09:28 +0000 (+0100) Subject: Remove useless function X-Git-Url: http://git.euphorik.ch/index.cgi?a=commitdiff_plain;h=5befae511674b177421228797d7d450535cfe93c;p=advent_of_code_2022.git Remove useless function --- diff --git a/src/common.rs b/src/common.rs index aa8372d..e69de29 100644 --- a/src/common.rs +++ b/src/common.rs @@ -1,10 +0,0 @@ -use std::{fs, path::Path, str::FromStr}; - -pub fn read_list_of_numbers(file: P, sep: &str) -> Vec -where - P: AsRef, - T: FromStr, - T::Err: std::fmt::Debug -{ - fs::read_to_string(file).unwrap().split(sep).map(|line| line.trim().parse::().unwrap()).collect() -} \ No newline at end of file