summaryrefslogtreecommitdiffstats
path: root/src/ops/bool.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/ops/bool.rs')
-rw-r--r--src/ops/bool.rs9
1 files changed, 1 insertions, 8 deletions
diff --git a/src/ops/bool.rs b/src/ops/bool.rs
index fa33da2..3c32271 100644
--- a/src/ops/bool.rs
+++ b/src/ops/bool.rs
@@ -19,14 +19,6 @@ impl Bool {
}
-impl<I> Filter<I> for Bool {
-
- fn filter(&self, _: &I) -> bool {
- self.b
- }
-
-}
-
impl From<bool> for Bool {
fn from(b: bool) -> Bool {
@@ -35,3 +27,4 @@ impl From<bool> for Bool {
}
+impl_operators!(Bool, self e { self.b }, );