From 97f1278b6d42ab15d601902a6b1f632f50183031 Mon Sep 17 00:00:00 2001 From: Ivan Azoyan Date: Wed, 25 Dec 2024 14:48:47 -0300 Subject: [PATCH] Fix doctest --- crates/rsonpath-lib/src/engine/main.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/crates/rsonpath-lib/src/engine/main.rs b/crates/rsonpath-lib/src/engine/main.rs index bf843b48..17fbf06c 100644 --- a/crates/rsonpath-lib/src/engine/main.rs +++ b/crates/rsonpath-lib/src/engine/main.rs @@ -201,6 +201,7 @@ impl MainEngine { /// # Example /// ```rust /// use rsonpath::automaton::*; + /// use rsonpath::engine::RsonpathEngine; /// let path = "$.personal.details.contact.information.phones.home"; /// let automation = Automaton::new(&rsonpath_syntax::parse(path).unwrap()).unwrap(); /// let engine = RsonpathEngine::from_compiled_query(a);