mirror of
https://github.com/haraldh/chainerror.git
synced 2025-05-29 21:18:07 +02:00
cargo fmt and doc format
This commit is contained in:
parent
490eaa474b
commit
c014f1a922
2 changed files with 4 additions and 23 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue