diff --git a/src/compiler.rs b/src/compiler.rs index 6cc87ce..93a7a32 100644 --- a/src/compiler.rs +++ b/src/compiler.rs @@ -107,9 +107,9 @@ impl Compiler { - for draft-07 and earlier: enabled - for draft/2019-09: disabled, unless - metaschema says `format` vocabulary is required + metaschema says `format` vocabulary is required - for draft/2020-12: disabled, unless - metaschema says `format-assertion` vocabulary is required + metaschema says `format-assertion` vocabulary is required */ pub fn enable_format_assertions(&mut self) { self.assert_format = true;