From c112f5da48472e4d3cab1b3d48c60d831cba448c Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Thu, 11 Jul 2024 06:24:04 +0200 Subject: [PATCH] Lint: remove unnecessary `pub(self)` --- src/telegram/commands/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/telegram/commands/mod.rs b/src/telegram/commands/mod.rs index cda3fe6e..b0a8347c 100644 --- a/src/telegram/commands/mod.rs +++ b/src/telegram/commands/mod.rs @@ -19,7 +19,7 @@ mod answer; #[derive(Debug, Clone, PartialEq, Eq, BotCommands)] #[command(rename_rule = "lowercase")] -pub(self) enum Command { +enum Command { #[command(description = "Invia messaggio di introduzione.")] Start, #[command(description = "Visualizza l'elenco dei comandi disponibili, o mostra informazioni su uno specifico comando.")]