From da38764cd24b5e1270053d76f5b947cfd060ad61 Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Thu, 11 Jul 2024 06:22:04 +0200 Subject: [PATCH] Lint: remove redundant `'static` lifetime --- src/telegram/commands/start.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/telegram/commands/start.rs b/src/telegram/commands/start.rs index bb35e1f8..6673b707 100644 --- a/src/telegram/commands/start.rs +++ b/src/telegram/commands/start.rs @@ -6,7 +6,7 @@ use teloxide::types::{Message}; use super::{CommandResult}; -const VERSION: &'static str = env!("CARGO_PKG_VERSION"); +const VERSION: &str = env!("CARGO_PKG_VERSION"); pub async fn handler(bot: &Bot, message: &Message) -> CommandResult {