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 {