// split flat keyed values into an hashmap of <String, u64>
split flat keyed values into an hashmap of 
split flat keyed values into an hashmap of
fn lines_to_map(content: &str) -> HashMap<String, u64> {
    content
        .lines()
        .map(|x| x.split_whitespace().collect::<Vec<&str>>())
        .filter(|x| x.len() == 2 && x[1].parse::<u64>().is_ok())
        .fold(HashMap::new(), |mut hm, x| {
            hm.insert(x[0].to_string(), x[1].parse::<u64>().unwrap());
            hm
        })
}
fn lines_to_map ( content : & str ) -> HashMap < String , u64 > { content . lines ( ) . map ( | x | x . split_whitespace ( ) . collect :: < Vec < & str > > ( ) ) . filter ( | x | x . len ( ) == 2 && x [ 1 ] . parse :: < u64 > ( ) . is_ok ( ) ) . fold ( HashMap :: new ( ) , | mut hm , x | { hm . insert ( x [ 0 ] . to_string ( ) , x [ 1 ] . parse :: < u64 > ( ) . unwrap ( ) ) ; hm } ) }
split flat keyed values into an hashmap of <String, u64>
split flat keyed values into an hashmap of <String u64 >
content
&str