Fix quote escaping in errors

This commit is contained in:
Jake Howard 2017-09-10 16:24:26 +01:00
parent 5c85aad311
commit 2950b0b9f8
Signed by: jake
GPG key ID: 57AFB45680EDD477

View file

@ -26,7 +26,7 @@ pub fn ok_or_exit<T>(res: Result<T, String>) -> T {
return match res {
Ok(k) => k,
Err(err) => {
writeln!(io::stderr(), "Error: {:?}", err).unwrap();
writeln!(io::stderr(), "Error: {}", err).unwrap();
exit(1);
}
};