diff --git a/CHANGELOG.md b/CHANGELOG.md index 155d0ff87..e4029c18b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). ## Unreleased +- Removed the transitional `#![allow(clippy::expect_used)]` quarantine from + `lading_throttle`. All `.expect()` sites in that crate are under + `#[cfg(test)]` or `#[cfg(kani)]`, so the workspace-level + `clippy::expect_used = "deny"` now applies without local overrides. - Added `clippy::expect_used = "deny"` to the workspace-level lint set, mirroring the existing `clippy::unwrap_used` policy, and set `allow-expect-in-tests = true` in `clippy.toml`. Production `.expect()` diff --git a/lading_throttle/src/lib.rs b/lading_throttle/src/lib.rs index c1e22c340..493a0907e 100644 --- a/lading_throttle/src/lib.rs +++ b/lading_throttle/src/lib.rs @@ -6,9 +6,6 @@ #![deny(clippy::cargo)] #![allow(clippy::cast_precision_loss)] #![allow(clippy::multiple_crate_versions)] -// Quarantine: workspace denies `clippy::expect_used`, but this crate still has -// production `.expect()` sites awaiting cleanup. Remove once cleaned up. -#![allow(clippy::expect_used)] use async_trait::async_trait; use serde::{Deserialize, Serialize};