mirror of
https://github.com/asterinas/asterinas.git
synced 2025-06-20 22:06:32 +00:00
Remove useless #[allow(lint)]
This commit is contained in:
committed by
Tate, Hongliang Tian
parent
b42d596ec4
commit
b415538097
@ -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,
|
||||
|
Reference in New Issue
Block a user