From c87da2bb6a7b5e6dba8af08d9cbb66a10375d892 Mon Sep 17 00:00:00 2001 From: Giulio De Pasquale Date: Thu, 14 Jan 2021 12:43:01 +0000 Subject: [PATCH] removed explicit lifetime --- rustybot/src/bot.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rustybot/src/bot.rs b/rustybot/src/bot.rs index e832c3e..899b543 100644 --- a/rustybot/src/bot.rs +++ b/rustybot/src/bot.rs @@ -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();