Skip to content

Commit

Permalink
Fix doctest
Browse files Browse the repository at this point in the history
  • Loading branch information
azoyan committed Dec 25, 2024
1 parent ef4bb4f commit 97f1278
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions crates/rsonpath-lib/src/engine/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 97f1278

Please sign in to comment.