Apply clippy::has_significant_drop.

Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
Jason Volk
2026-03-09 22:40:14 +00:00
parent e70bc5d665
commit beb9fa0ecd
5 changed files with 5 additions and 0 deletions

View File

@@ -47,6 +47,7 @@ pub struct State<F: Fn(u64) -> Result + Sync> {
release: F,
}
#[clippy::has_significant_drop]
pub struct Permit<F: Fn(u64) -> Result + Sync> {
/// Link back to the shared-state.
state: Arc<Counter<F>>,