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

Lint: remove useless format

This commit is contained in:
Steffo 2024-07-11 06:23:19 +02:00
parent da38764cd2
commit 492d587a33
Signed by: steffo
GPG key ID: 5ADA3868646C3FC0

View file

@ -15,7 +15,7 @@ pub async fn handler(bot: &Bot, message: &Message) -> CommandResult {
let author_username = match author.username.as_ref() { let author_username = match author.username.as_ref() {
None => { None => {
format!("{}", &author.first_name) author.first_name.clone()
}, },
Some(username) => { Some(username) => {
format!("@{}", &username) format!("@{}", &username)