mirror of
https://github.com/chatmail/core.git
synced 2026-05-01 20:36:31 +03:00
Fix clippy::redundant-async-block warnings
This commit is contained in:
@@ -1552,7 +1552,7 @@ impl RecentlySeenLoop {
|
||||
pub(crate) fn new(context: Context) -> Self {
|
||||
let (interrupt_send, interrupt_recv) = channel::bounded(1);
|
||||
|
||||
let handle = task::spawn(async move { Self::run(context, interrupt_recv).await });
|
||||
let handle = task::spawn(Self::run(context, interrupt_recv));
|
||||
Self {
|
||||
handle,
|
||||
interrupt_send,
|
||||
|
||||
Reference in New Issue
Block a user