diff --git a/lychee-bin/src/commands/dump.rs b/lychee-bin/src/commands/dump.rs index 572c592..5dd797b 100644 --- a/lychee-bin/src/commands/dump.rs +++ b/lychee-bin/src/commands/dump.rs @@ -209,7 +209,7 @@ mod tests { let inputs: Vec> = vec![ Ok(String::from("test/path1")), - Err(io::Error::new(io::ErrorKind::Other, "test error").into()), + Err(io::Error::other("test error").into()), Ok(String::from("test/path2")), ]; let stream = stream::iter(inputs); diff --git a/lychee-lib/src/client.rs b/lychee-lib/src/client.rs index 865180e..fc281b4 100644 --- a/lychee-lib/src/client.rs +++ b/lychee-lib/src/client.rs @@ -288,7 +288,6 @@ pub struct ClientBuilder { } impl Default for ClientBuilder { - #[must_use] #[inline] fn default() -> Self { Self::builder().build()