Skip to content

Commit

Permalink
Derive Debug for Flag<B>
Browse files Browse the repository at this point in the history
This just makes it possible to easily print the `FLAGS` constant.
  • Loading branch information
tgross35 committed Feb 6, 2024
1 parent a5f9ce2 commit 73dc066
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/traits.rs
Expand Up @@ -11,6 +11,7 @@ use crate::{
/**
A defined flags value that may be named or unnamed.
*/
#[derive(Debug)]
pub struct Flag<B> {
name: &'static str,
value: B,
Expand Down

0 comments on commit 73dc066

Please sign in to comment.