From b7c3f6aedf9ee674ed96017e1ba4e57884fbb579 Mon Sep 17 00:00:00 2001 From: Constantin Nickel Date: Tue, 22 Jun 2021 15:04:51 +0200 Subject: [PATCH] Fix bare url warnings in `multipart` docs --- src/async_impl/multipart.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/async_impl/multipart.rs b/src/async_impl/multipart.rs index a7708accd..38f76684c 100644 --- a/src/async_impl/multipart.rs +++ b/src/async_impl/multipart.rs @@ -408,7 +408,7 @@ impl PartMetadata { } } -/// https://url.spec.whatwg.org/#fragment-percent-encode-set +// https://url.spec.whatwg.org/#fragment-percent-encode-set const FRAGMENT_ENCODE_SET: &AsciiSet = &percent_encoding::CONTROLS .add(b' ') .add(b'"') @@ -416,12 +416,12 @@ const FRAGMENT_ENCODE_SET: &AsciiSet = &percent_encoding::CONTROLS .add(b'>') .add(b'`'); -/// https://url.spec.whatwg.org/#path-percent-encode-set +// https://url.spec.whatwg.org/#path-percent-encode-set const PATH_ENCODE_SET: &AsciiSet = &FRAGMENT_ENCODE_SET.add(b'#').add(b'?').add(b'{').add(b'}'); const PATH_SEGMENT_ENCODE_SET: &AsciiSet = &PATH_ENCODE_SET.add(b'/').add(b'%'); -/// https://tools.ietf.org/html/rfc8187#section-3.2.1 +// https://tools.ietf.org/html/rfc8187#section-3.2.1 const ATTR_CHAR_ENCODE_SET: &AsciiSet = &NON_ALPHANUMERIC .remove(b'!') .remove(b'#')