diff --git a/crates/collab/src/bin/seed.rs b/crates/collab/src/bin/seed.rs index 632116a363..8a998d0bf3 100644 --- a/crates/collab/src/bin/seed.rs +++ b/crates/collab/src/bin/seed.rs @@ -88,9 +88,9 @@ async fn fetch_github(client: &reqwest::Client, url: &str) .header("user-agent", "zed") .send() .await - .expect(&format!("failed to fetch '{}'", url)); + .unwrap_or_else(|_| panic!("failed to fetch '{}'", url)); response .json() .await - .expect(&format!("failed to deserialize github user from '{}'", url)) + .unwrap_or_else(|_| panic!("failed to deserialize github user from '{}'", url)) } diff --git a/tooling/xtask/src/main.rs b/tooling/xtask/src/main.rs index 73acaacf34..45e5241160 100644 --- a/tooling/xtask/src/main.rs +++ b/tooling/xtask/src/main.rs @@ -90,7 +90,6 @@ fn run_clippy(args: ClippyArgs) -> Result<()> { "clippy::derivable_impls", "clippy::derive_ord_xor_partial_ord", "clippy::eq_op", - "clippy::expect_fun_call", "clippy::explicit_counter_loop", "clippy::identity_op", "clippy::implied_bounds_in_impls",