Skip to content

Commit d02b1c3

Browse files
committed
Docs: pretend encode set unit structs are constants
1 parent 512b98a commit d02b1c3

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

src/percent_encoding.rs

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,9 @@
2020
//! `url::percent_encoding` includes different *encode sets*.
2121
//! See [URL Standard](https://url.spec.whatwg.org/#percent-encoded-bytes) for details.
2222
//!
23-
//! [`url::percent_encoding::EncodeSet`](trait.EncodeSet.html) Trait allows a sequence of bytes
24-
//! to be converted to a percent encoded sequence of bytes stripped of particular reserved
25-
//! characters. This trait is applied to the `*_ENCODE_SET` structs. If your application requires
26-
//! custom set of Encoding, see [`define_encode_set!`](../macro.define_encode_set!.html) macro.
23+
//! This module provides some `*_ENCODE_SET` constants.
24+
//! If a different set is required, it can be created with
25+
//! the [`define_encode_set!`](../macro.define_encode_set!.html) macro.
2726
//!
2827
//! # Examples
2928
//!

0 commit comments

Comments
 (0)