Skip to content

Commit 512b98a

Browse files
committed
URI -> URL, remove irrelevant reference to RFC 3986
1 parent df366f1 commit 512b98a

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

src/percent_encoding.rs

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@
1515
//! becomes percent encoded. A simple example can be seen when the space literal is replaced with
1616
//! `%20`.
1717
//!
18-
//! Percent encoding is further complicated by the fact that different parts of the URI have
18+
//! Percent encoding is further complicated by the fact that different parts of an URL have
1919
//! different encoding requirements. In order to support the variety of encoding requirements,
20-
//! `url::percent_encoding` includes encoding sets that are defined in [IETF RFC 3986][rfc] and
21-
//! updated through the [Living Standard][living].
20+
//! `url::percent_encoding` includes different *encode sets*.
21+
//! See [URL Standard](https://url.spec.whatwg.org/#percent-encoded-bytes) for details.
2222
//!
2323
//! [`url::percent_encoding::EncodeSet`](trait.EncodeSet.html) Trait allows a sequence of bytes
2424
//! to be converted to a percent encoded sequence of bytes stripped of particular reserved
@@ -36,8 +36,6 @@
3636
//! println!("{}", utf8_percent_encode("foo bar?", QUERY_ENCODE_SET).collect::<String>());
3737
//! # }
3838
//! ```
39-
//! [rfc]:https://tools.ietf.org/html/rfc3986
40-
//! [living]:https://url.spec.whatwg.org
4139
4240
use encoding;
4341
use std::ascii::AsciiExt;

0 commit comments

Comments
 (0)