From 112c0e920eb3664d0941418c3e9d966d386448d1 Mon Sep 17 00:00:00 2001 From: Dmitry Dygalo Date: Thu, 3 Oct 2024 20:15:46 +0200 Subject: [PATCH] chore: Drop debug Signed-off-by: Dmitry Dygalo --- CHANGELOG.md | 4 ++++ crates/jsonschema/src/keywords/format.rs | 1 - 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index aa69e3fd..b44bbe2d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,10 @@ ## [Unreleased] +### Fixed + +- Removed `dbg!` macro. + ## [0.22.0] - 2024-10-03 ### Changed diff --git a/crates/jsonschema/src/keywords/format.rs b/crates/jsonschema/src/keywords/format.rs index b6406db8..b6f2a3c2 100644 --- a/crates/jsonschema/src/keywords/format.rs +++ b/crates/jsonschema/src/keywords/format.rs @@ -362,7 +362,6 @@ fn is_valid_hostname(hostname: &str) -> bool { fn is_valid_idn_hostname(hostname: &str) -> bool { use idna::uts46::{AsciiDenyList, DnsLength, Hyphens, Uts46}; - dbg!(42); let Ok(ascii_hostname) = Uts46::new().to_ascii( hostname.as_bytes(), AsciiDenyList::STD3,