actually compiles now?
This commit is contained in:
parent
2e59c4afd1
commit
3f6db849f7
1 changed files with 7 additions and 4 deletions
|
|
@ -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"))]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue