Commit a13767d7 authored by Emmanuel Bresso's avatar Emmanuel Bresso

eprintln

parent b9176d20
Pipeline #74456 passed with stages
in 1 minute and 2 seconds
......@@ -88,7 +88,7 @@ fn atom_mass() -> HashMap<String, f32> {
let charmmf = match File::open(test) {
Ok(charmmf) => charmmf,
Err(e) => {
eprintln!("Error to read {}", e);
eprintln!("Error while reading {}", e);
process::exit(1);
}
};
......@@ -102,7 +102,7 @@ fn atom_mass() -> HashMap<String, f32> {
let val = match split[3].parse::<f32>() {
Ok(val) => val,
Err(e) => {
println!("Cannot cast {} into f32", e);
eprintln!("Cannot cast {} into f32", e);
process::exit(1);
}
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment