File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change 15
15
//! becomes percent encoded. A simple example can be seen when the space literal is replaced with
16
16
//! `%20`.
17
17
//!
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
19
19
//! 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 .
22
22
//!
23
23
//! [`url::percent_encoding::EncodeSet`](trait.EncodeSet.html) Trait allows a sequence of bytes
24
24
//! to be converted to a percent encoded sequence of bytes stripped of particular reserved
36
36
//! println!("{}", utf8_percent_encode("foo bar?", QUERY_ENCODE_SET).collect::<String>());
37
37
//! # }
38
38
//! ```
39
- //! [rfc]:https://tools.ietf.org/html/rfc3986
40
- //! [living]:https://url.spec.whatwg.org
41
39
42
40
use encoding;
43
41
use std:: ascii:: AsciiExt ;
You can’t perform that action at this time.
0 commit comments