summaryrefslogtreecommitdiff
path: root/src/useflag/mod.rs
diff options
context:
space:
mode:
authorJohn Turner <jturner.usa@gmail.com>2025-12-17 06:45:27 +0000
committerJohn Turner <jturner.usa@gmail.com>2025-12-17 06:45:27 +0000
commitc63c3e8c8c73ed7c036df7511ca190cdb96d92e2 (patch)
tree3262ef318f03388d37ac28493e42c1638c227c27 /src/useflag/mod.rs
parent0ec856797256b5d9807929e1b32c03756eb43124 (diff)
downloadgentoo-utils-split-into-workspace.tar.gz
Diffstat (limited to 'src/useflag/mod.rs')
-rw-r--r--src/useflag/mod.rs20
1 files changed, 0 insertions, 20 deletions
diff --git a/src/useflag/mod.rs b/src/useflag/mod.rs
deleted file mode 100644
index c367b1a..0000000
--- a/src/useflag/mod.rs
+++ /dev/null
@@ -1,20 +0,0 @@
-use core::fmt;
-
-use get::Get;
-
-mod parsers;
-
-#[derive(Clone, Debug, PartialEq, Eq, Hash, Get)]
-pub struct UseFlag(#[get(method = "name", kind = "deref")] String);
-
-#[derive(Clone, Debug, PartialEq, Eq, Hash, Get)]
-pub struct IUseFlag {
- default: bool,
- flag: UseFlag,
-}
-
-impl fmt::Display for UseFlag {
- fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
- write!(f, "{}", self.0)
- }
-}