removed explicit lifetime

This commit is contained in:
Giulio De Pasquale 2021-01-14 12:43:01 +00:00
parent 2c2f164e18
commit c87da2bb6a

View File

@ -67,7 +67,7 @@ impl BfxBot {
}
}
async fn update<'a>(&'a mut self) {
async fn update(&mut self) {
delay_for(self.ticker.duration()).await;
self.ticker.inc();