From 41254c58c9fface69f7db39b5236a7aed319047c Mon Sep 17 00:00:00 2001 From: SoniEx2 Date: Sat, 8 Apr 2023 22:08:23 -0300 Subject: Clean up --- src/lib.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/lib.rs') 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()); -- cgit 1.4.1