From 23b0e5ce1e05ac454434390104973f811e06ab89 Mon Sep 17 00:00:00 2001 From: Greg Burri Date: Mon, 5 Dec 2022 12:09:28 +0100 Subject: [PATCH] Remove useless function --- src/common.rs | 10 ---------- 1 file changed, 10 deletions(-) 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 -- 2.45.2