mirror of
https://github.com/RYGhub/royalnet.git
synced 2024-11-22 02:54:21 +00:00
Lint: remove redundant 'static
lifetime
This commit is contained in:
parent
c028f3a502
commit
da38764cd2
1 changed files with 1 additions and 1 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue