diff --git a/gix-packetline-blocking/src/read/sidebands/async_io.rs b/gix-packetline-blocking/src/read/sidebands/async_io.rs index 9a9ddc9dff6..6ffe200590d 100644 --- a/gix-packetline-blocking/src/read/sidebands/async_io.rs +++ b/gix-packetline-blocking/src/read/sidebands/async_io.rs @@ -302,7 +302,7 @@ where "interrupted by user", ))) } - }; + } } BandRef::Error(d) => { let text = TextRef::from(d).0; @@ -314,9 +314,9 @@ where "interrupted by user", ))) } - }; + } } - }; + } } None => { break match line.as_slice() { diff --git a/gix-packetline/src/read/sidebands/async_io.rs b/gix-packetline/src/read/sidebands/async_io.rs index cd563bfc601..1a04a381254 100644 --- a/gix-packetline/src/read/sidebands/async_io.rs +++ b/gix-packetline/src/read/sidebands/async_io.rs @@ -300,7 +300,7 @@ where "interrupted by user", ))) } - }; + } } BandRef::Error(d) => { let text = TextRef::from(d).0; @@ -312,9 +312,9 @@ where "interrupted by user", ))) } - }; + } } - }; + } } None => { break match line.as_slice() { diff --git a/gix-transport/src/client/blocking_io/http/traits.rs b/gix-transport/src/client/blocking_io/http/traits.rs index b390eecc45a..df00b2a4bd8 100644 --- a/gix-transport/src/client/blocking_io/http/traits.rs +++ b/gix-transport/src/client/blocking_io/http/traits.rs @@ -27,7 +27,7 @@ impl crate::IsSpuriousError for Error { #[cfg(feature = "http-client-reqwest")] if let Some(err) = source.downcast_ref::() { return err.is_spurious(); - }; + } false } _ => false,