mirror of
https://github.com/OMGeeky/tarpc.git
synced 2026-01-18 01:13:11 +01:00
Clean up code warnings
This commit is contained in:
@@ -117,7 +117,7 @@ impl publisher::FutureService for Publisher {
|
||||
fn unsubscribe(&self, id: u32) -> Self::UnsubscribeFut {
|
||||
println!("Unsubscribing {}", id);
|
||||
self.clients.borrow_mut().remove(&id).unwrap();
|
||||
futures::finished(()).boxed()
|
||||
Box::new(futures::finished(()))
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user