unconditionally derive Debug on subcommand enums

Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
Jason Volk 2024-07-24 00:13:03 +00:00
parent f841c2356d
commit 2468e0c3de
11 changed files with 24 additions and 47 deletions

View file

@ -6,8 +6,7 @@ use ruma::{events::room::message::RoomMessageEventContent, EventId, MxcUri};
use self::commands::*;
#[cfg_attr(test, derive(Debug))]
#[derive(Subcommand)]
#[derive(Debug, Subcommand)]
pub(super) enum MediaCommand {
/// - Deletes a single media file from our database and on the filesystem
/// via a single MXC URL