Remove useless #[allow(lint)]

This commit is contained in:
Ruihan Li
2025-01-24 17:39:58 +08:00
committed by Tate, Hongliang Tian
parent b42d596ec4
commit b415538097
32 changed files with 1 additions and 51 deletions

View File

@ -117,7 +117,6 @@ impl<'a> CurrentTx<'a> {
///
/// In addition, the `get_current_mut_with` method must _not_ be called
/// recursively.
#[allow(dropping_references)]
fn get_current_mut_with<F, R>(&self, f: F) -> R
where
F: FnOnce(&mut Tx) -> R,