From 5c85a8e2f0573e10a7518bfac970ba6599ebccdb Mon Sep 17 00:00:00 2001 From: June Kim Date: Sun, 10 May 2026 07:41:31 -0700 Subject: [PATCH] docs(idna): fix repeated words in uts46 documentation MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fixes #1052 - Remove duplicated "the" in two doc comments - Fix grammar: "may be resemble" → "may resemble" --- idna/src/uts46.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/idna/src/uts46.rs b/idna/src/uts46.rs index 79223a2cc..442e21c20 100644 --- a/idna/src/uts46.rs +++ b/idna/src/uts46.rs @@ -626,7 +626,7 @@ impl Uts46 { /// /// This is an imperfect security mechanism, because [the Punycode form itself may be /// resemble a user-recognizable name](https://www.unicode.org/reports/tr36/#TablePunycodeSpoofing). - /// However, since this mechanism is common practice, this API provides support for The + /// However, since this mechanism is common practice, this API provides support for /// the mechanism. /// /// ASCII labels always pass through as ASCII and labels with errors always pass through @@ -760,9 +760,9 @@ impl Uts46 { /// # Security considerations /// /// Showing labels whose Unicode form might mislead the user as Punycode instead is - /// an imperfect security mechanism, because [the Punycode form itself may be resemble + /// an imperfect security mechanism, because [the Punycode form itself may resemble /// a user-recognizable name](https://www.unicode.org/reports/tr36/#TablePunycodeSpoofing). - /// However, since this mechanism is common practice, this API provides support for the + /// However, since this mechanism is common practice, this API provides support for /// the mechanism. /// /// Punycode processing is quadratic, so to avoid denial of service, this method imposes