Skip to content

1.0.21

Choose a tag to compare

@dtolnay dtolnay released this 17 Nov 23:01
· 705 commits to master since this release
1.0.21
2bbf85a
  • Provide DoubleEndedIterator and ExactSizeIterator implementations for anyhow::Chain to assist in custom rendering of cause chains (#45)

    let chain = err.chain();
    if chain.len() > 1 {
        eprint!("[[root cause]] ");
    }
    for err in chain.rev() {
        eprintln!("{}", err);
    }