Skip to content

Commit

Permalink
chore: Fix typos (#447)
Browse files Browse the repository at this point in the history
  • Loading branch information
jayvdb authored Jan 16, 2024
1 parent 4461d0f commit 8dc33ea
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion jsonschema/src/compilation/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ pub(crate) static DEFAULT_SCOPE: Lazy<Url> =

impl JSONSchema {
/// Return a default `CompilationOptions` that can configure
/// `JSONSchema` compilaton flow.
/// `JSONSchema` compilation flow.
///
/// Using options you will be able to configure the draft version
/// to use during `JSONSchema` compilation
Expand Down
2 changes: 1 addition & 1 deletion jsonschema/src/keywords/unique_items.rs
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ impl Hash for HashedValue<'_> {
}

// Empirically calculated threshold after which the validator resorts to hashing.
// Calculated for an array of mixed types, large homogenous arrays of primitive values might be
// Calculated for an array of mixed types, large homogeneous arrays of primitive values might be
// processed faster with different thresholds, but this one gives a good baseline for the common
// case.
const ITEMS_SIZE_THRESHOLD: usize = 15;
Expand Down
2 changes: 1 addition & 1 deletion jsonschema/src/output.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//! Implementation of json schema output formats specified in <https://json-schema.org/draft/2020-12/json-schema-core.html#rfc.section.12.2>
//!
//! Currently the "flag" and "basic" formats are supported. The "flag" format is
//! idential to the [`JSONSchema::is_valid`] method and so is uninteresting. The
//! identical to the [`JSONSchema::is_valid`] method and so is uninteresting. The
//! main contribution of this module is [`Output::basic`]. See the documentation
//! of that method for more information.
Expand Down

0 comments on commit 8dc33ea

Please sign in to comment.