Remove useless use of format!()

[skip ci]
This commit is contained in:
Slavi Pantaleev
2024-09-19 14:07:27 +03:00
parent 2dbd600d05
commit 5f7b1c9e38

View File

@@ -78,9 +78,7 @@ pub async fn handle_help(message_context: &MessageContext, bot: &Bot) -> anyhow:
));
}
if !can_create_room_local_agents && !can_create_global_agents {
message.push_str(&format!(
" ask an administrator to create an agent for you (you lack permissions to do so yourself)",
));
message.push_str(" ask an administrator to create an agent for you (you lack permissions to do so yourself)");
}
message.push_str("\n\n");