Skip to content

Commit

Permalink
docs: Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Stranger6667 authored Nov 17, 2024
1 parent f1b04b4 commit 1156b23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {

// One-off validation
assert!(jsonschema::is_valid(&schema, &instance));
assert!(jsonschema::validate(&schema, &instance));
assert!(jsonschema::validate(&schema, &instance).is_ok());

// Build & reuse (faster)
let validator = jsonschema::validator_for(&schema)?;
Expand Down

0 comments on commit 1156b23

Please sign in to comment.