actually compiles now?

This commit is contained in:
Mark Mansi 2019-08-30 14:05:39 -05:00
parent 2e59c4afd1
commit 3f6db849f7

View file

@ -60,11 +60,14 @@ fn main() {
#[cfg(feature = "linkcheck")]
{
err.downcast::<BrokenLinks>()
.map(|broken_links| {
broken_links
.links()
.iter()
.inspect(|cause| eprintln!("\tCaused By: {}", cause))
.any(|cause| !format!("{}", cause).contains("timed out"))
})
.unwrap_or(false)
.links()
.iter()
.inspect(|cause| eprintln!("\tCaused By: {}", cause))
.any(|cause| !cause.contains("timed out"));
}
#[cfg(not(feature = "linkcheck"))]