Skip to content

Commit 16831db

Browse files
committed
Update comments
1 parent ad60b6c commit 16831db

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/build/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,7 @@ impl<R: RiMaybeRef, S: To<HostEnd>> Builder<R, S> {
305305
/// or <code>&amp;[EStr]&lt;[IRegName]&gt;</code> (for IRI) as argument.
306306
/// Crate feature `net` is required for this method to take an IP address as argument.
307307
///
308-
/// If the contents of an input `EStr` slice matches the
308+
/// If the contents of an input `EStr` slice match the
309309
/// `IPv4address` ABNF rule defined in [Section 3.2.2 of RFC 3986][host],
310310
/// the resulting URI/IRI (reference) will output a [`Host::Ipv4`] variant instead.
311311
///

src/imp.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -528,7 +528,7 @@ macro_rules! ri_maybe_ref {
528528
/// you can use [`strip_fragment`], [`with_fragment`] or [`set_fragment`] to remove the fragment
529529
#[doc = concat!("from any ", $nr_name, ".")]
530530
/// Note that a base without fragment does **not** guarantee a successful resolution
531-
/// (see the **must** below).
531+
/// (see the must below).
532532
///
533533
/// This method applies the reference resolution algorithm defined in
534534
/// [Section 5 of RFC 3986](https://datatracker.ietf.org/doc/html/rfc3986#section-5),

0 commit comments

Comments
 (0)