pub fn parse_file(path: &str, consumer: &mut dyn Consume) {
    match fs::read_to_string(path) {
        Ok(contents) => match parse(consumer, &contents) {
            None => consumer.err(path),
            Some(solution) => consumer.ok(path, &solution),
        },
        Err(e) => eprintln!("{} - {}", path, e),
    }
}
/// parse_file parses single solution file specified by path.
parse_file parses single solution file specified by path.
parse_file parses single solution file specified by path .
pub fn parse_file(path: &str, consumer: &mut dyn Consume) {
    match fs::read_to_string(path) {
        Ok(contents) => match parse(consumer, &contents) {
            None => consumer.err(path),
            Some(solution) => consumer.ok(path, &solution),
        },
        Err(e) => eprintln!("{} - {}", path, e),
    }
}
pub fn parse_file ( path : & str , consumer : & mut dyn Consume ) { match fs :: read_to_string ( path ) { Ok ( contents ) => match parse ( consumer , & contents ) { None => consumer . err ( path ) , Some ( solution ) => consumer . ok ( path , & solution ) , } , Err ( e ) => eprintln ! ( " " path e ) , } }
parse_file parses single solution file specified by path.
parse_file parses single solution file specified by path .
path
&str
consumer
&mut dyn Consume