diff --git a/idna/src/punycode.rs b/idna/src/punycode.rs index ff7b6ada..62871eac 100644 --- a/idna/src/punycode.rs +++ b/idna/src/punycode.rs @@ -375,7 +375,7 @@ where if !C::EXTERNAL_CALLER { // We should never get an overflow here with the internal caller being // length-limited, but let's check anyway once here trusting the math - // from RFC 3492 section 6.4 and then omit the overflow checks in the + // from RFC 3492 section 6.4 and then omit the overflow checks in the // loop below. let len_plus_one = input_length .checked_add(1) diff --git a/url/src/path_segments.rs b/url/src/path_segments.rs index e6363c5c..d83ece8a 100644 --- a/url/src/path_segments.rs +++ b/url/src/path_segments.rs @@ -11,7 +11,7 @@ use crate::Url; use alloc::string::String; use core::str; -/// Exposes methods to manipulate the path of an URL that is not cannot-be-base. +/// Exposes methods to manipulate the path of a URL that is not cannot-be-base. /// /// The path always starts with a `/` slash, and is made of slash-separated segments. /// There is always at least one segment (which may be the empty string). @@ -213,7 +213,7 @@ impl PathSegmentsMut<'_> { /// # run().unwrap(); /// ``` /// - /// In order to make sure that parsing the serialization of an URL gives the same URL, + /// In order to make sure that parsing the serialization of a URL gives the same URL, /// a segment is ignored if it is `"."` or `".."`: /// /// ```rust