Skip to content

Commit 02f1c87

Browse files
authored
Fix percent-encoding link (#612)
1 parent affdc56 commit 02f1c87

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

src/encoding/string/percent-encode.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22

33
[![percent-encoding-badge]][percent-encoding] [![cat-encoding-badge]][cat-encoding]
44

5-
Encode an input string with [percent-encoding] using the [`utf8_percent_encode`]
6-
function from the `percent-encoding` crate. Then decode using the [`percent_decode`]
7-
function.
5+
Encode an input string with [percent-encoding][percent-encoding-wiki] using the
6+
[`utf8_percent_encode`] function from the `percent-encoding` crate. Then decode
7+
using the [`percent_decode`] function.
88

99
```rust,edition2018
1010
use percent_encoding::{utf8_percent_encode, percent_decode, AsciiSet, CONTROLS};
@@ -38,4 +38,5 @@ a `String`.
3838
[`percent_decode`]: https://docs.rs/percent-encoding/*/percent_encoding/fn.percent_decode.html
3939
[`utf8_percent_encode`]: https://docs.rs/percent-encoding/*/percent_encoding/fn.utf8_percent_encode.html
4040

41-
[percent-encoding]: https://en.wikipedia.org/wiki/Percent-encoding
41+
[percent-encoding]: https://docs.rs/percent-encoding/
42+
[percent-encoding-wiki]: https://en.wikipedia.org/wiki/Percent-encoding

0 commit comments

Comments
 (0)