Apply clippy::has_significant_drop.
Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
@@ -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>>,
|
||||
|
||||
Reference in New Issue
Block a user