cargo fmt and doc format

This commit is contained in:
Harald Hoyer 2019-03-06 08:57:16 +01:00
parent 490eaa474b
commit c014f1a922
No known key found for this signature in database
GPG key ID: 340F12141EA0994D
2 changed files with 4 additions and 23 deletions

View file

@ -56,7 +56,7 @@ fn main() -> Result<(), Box<std::error::Error>> {
}
eprintln!();
let mut s : &Error = &e;
let mut s: &Error = &e;
while let Some(c) = s.source() {
if let Some(ioerror) = c.downcast_ref::<io::Error>() {
eprintln!("caused by: std::io::Error: {}", ioerror);