Skip to content

Commit

Permalink
Fixing doc test issues
Browse files Browse the repository at this point in the history
  • Loading branch information
codetiger committed Dec 20, 2024
1 parent e97cae0 commit 525a11b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,8 @@ impl JsonLogic {
///
/// ## Example
/// ```rust
/// ### use datalogic_rs::{JsonLogic, Rule};
/// ### use serde_json::json;
/// # use datalogic_rs::{JsonLogic, Rule};
/// # use serde_json::json;
/// let rule = Rule::from_value(&json!({"var": "user.name"})).unwrap();
/// let data = json!({"user": {"name": "John"}});
/// let result = JsonLogic::apply(&rule, &data).unwrap();
Expand Down

0 comments on commit 525a11b

Please sign in to comment.