From fb09df2db19be75c32c0970b4bdedf1655f5f943 Mon Sep 17 00:00:00 2001 From: Santhosh Kumar Tekuri Date: Tue, 30 Jul 2024 20:37:19 +0530 Subject: [PATCH] clippy: fix doc warnings --- src/compiler.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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;