1
Fork 0
mirror of https://github.com/RYGhub/royalnet.git synced 2024-11-22 11:04:21 +00:00

Lint: remove redundant 'static lifetime

This commit is contained in:
Steffo 2024-07-11 06:22:04 +02:00
parent c028f3a502
commit da38764cd2
Signed by: steffo
GPG key ID: 5ADA3868646C3FC0

View file

@ -6,7 +6,7 @@ use teloxide::types::{Message};
use super::{CommandResult}; 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 { pub async fn handler(bot: &Bot, message: &Message) -> CommandResult {