chore: fix nightly clippy warnings

This commit is contained in:
link2xt
2024-11-05 14:45:34 +00:00
committed by l
parent 10a05fa6d9
commit d2324a8fc4
4 changed files with 6 additions and 6 deletions

View File

@@ -135,7 +135,7 @@ impl SchedulerState {
/// If in the meantime [`SchedulerState::start`] or [`SchedulerState::stop`] is called
/// resume will do the right thing and restore the scheduler to the state requested by
/// the last call.
pub(crate) async fn pause<'a>(&'_ self, context: Context) -> Result<IoPausedGuard> {
pub(crate) async fn pause(&'_ self, context: Context) -> Result<IoPausedGuard> {
{
let mut inner = self.inner.write().await;
match *inner {