Skip to content

Commit 99d1329

Browse files
committed
fix: clippy clippy::implied_bounds_in_impls
1 parent b021241 commit 99d1329

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

src/db/mem.rs

+2-6
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,7 @@ use {
1515
chrono::{DateTime, Duration, Utc},
1616
rand::seq::SliceRandom,
1717
serde::Serialize,
18-
std::{
19-
collections::HashMap,
20-
ops::{Deref, DerefMut},
21-
sync::Arc,
22-
},
18+
std::{collections::HashMap, ops::DerefMut, sync::Arc},
2319
tokio::sync::Mutex,
2420
};
2521

@@ -49,7 +45,7 @@ impl MemoryDB {
4945
})))
5046
}
5147

52-
async fn inner(&self) -> impl Deref<Target = MemoryDBInner> + DerefMut + '_ {
48+
async fn inner(&self) -> impl DerefMut<Target = MemoryDBInner> + DerefMut + '_ {
5349
self.0.lock().await
5450
}
5551
}

0 commit comments

Comments
 (0)