Просмотр исходного кода

Docs: pretend encode set unit structs are constants

Simon Sapin 9 лет назад
Родитель
Сommit
d02b1c3b45
1 измененных файлов с 3 добавлено и 4 удалено
  1. 3 4
      src/percent_encoding.rs

+ 3 - 4
src/percent_encoding.rs

@@ -20,10 +20,9 @@
 //! `url::percent_encoding` includes different *encode sets*.
 //! See [URL Standard](https://url.spec.whatwg.org/#percent-encoded-bytes) for details.
 //!
-//! [`url::percent_encoding::EncodeSet`](trait.EncodeSet.html) Trait allows a sequence of bytes
-//! to be converted to a percent encoded sequence of bytes stripped of particular reserved
-//! characters.  This trait is applied to the `*_ENCODE_SET` structs.  If your application requires
-//! custom set of Encoding, see [`define_encode_set!`](../macro.define_encode_set!.html) macro.
+//! This module provides some `*_ENCODE_SET` constants.
+//! If a different set is required, it can be created with
+//! the [`define_encode_set!`](../macro.define_encode_set!.html) macro.
 //!
 //! # Examples
 //!