summary refs log tree commit diff stats
path: root/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib.rs')
-rw-r--r--src/lib.rs5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/lib.rs b/src/lib.rs
index 897618b..27d6c30 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -87,6 +87,7 @@
 //!
 //! # Examples
 //!
+// FIXME check if this is actually the case :v
 //! The Datafu pattern
 //!
 //! ```datafu
@@ -111,7 +112,6 @@
 
 pub mod errors;
 mod graph;
-//pub mod type_tree;
 mod parser;
 mod pattern;
 mod vm;
@@ -119,6 +119,7 @@ mod vm;
 pub use pattern::Pattern;
 pub use pattern::PatternBuilder;
 
+// TODO remove/redesign
 /// A predicate.
 type Predicate = dyn (Fn(
     &mut dyn erased_serde::Deserializer<'_>
@@ -139,7 +140,7 @@ type Predicate = dyn (Fn(
 ///
 /// But this does:
 ///
-/// ```rust
+/// ```rust,ignore
 /// use serde::Deserialize;
 ///
 /// let x = datafu::pred(|v| String::deserialize(v).is_ok());