chore: Fix typos (#447)
This commit is contained in:
parent
4461d0ff7f
commit
8dc33ea41a
|
@ -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
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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.
|
||||
|
||||
|
|
Loading…
Reference in New Issue