From 73dc066b8d1e329859d6844a2a6ffdffab1aaff2 Mon Sep 17 00:00:00 2001 From: Trevor Gross Date: Mon, 5 Feb 2024 19:26:41 -0600 Subject: [PATCH] Derive `Debug` for `Flag` This just makes it possible to easily print the `FLAGS` constant. --- src/traits.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/traits.rs b/src/traits.rs index 28235142..3905d7d5 100644 --- a/src/traits.rs +++ b/src/traits.rs @@ -11,6 +11,7 @@ use crate::{ /** A defined flags value that may be named or unnamed. */ +#[derive(Debug)] pub struct Flag { name: &'static str, value: B,