Skip to content

Commit 5d3c78f

Browse files
authored
typos
chacters -> characters simlar -> similar "This used" -> "This is used"
1 parent 5e92976 commit 5d3c78f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

percent_encoding/src/lib.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
// option. This file may not be copied, modified, or distributed
77
// except according to those terms.
88

9-
//! URLs use special chacters to indicate the parts of the request.
9+
//! URLs use special characters to indicate the parts of the request.
1010
//! For example, a `?` question mark marks the end of a path and the start of a query string.
1111
//! In order for that character to exist inside a path, it needs to be encoded differently.
1212
//!
@@ -21,7 +21,7 @@
2121
//! The [`AsciiSet`] parameter of [`percent_encode`] and [`utf8_percent_encode`]
2222
//! lets callers configure this.
2323
//!
24-
//! This crate delibarately does not provide many different sets.
24+
//! This crate deliberately does not provide many different sets.
2525
//! Users should consider in what context the encoded string will be used,
2626
//! read relevant specifications, and define their own set.
2727
//! This is done by using the `add` method of an existing set.
@@ -48,8 +48,8 @@ use std::{fmt, mem, slice, str};
4848

4949
/// Represents a set of characters or bytes in the ASCII range.
5050
///
51-
/// This used in [`percent_encode`] and [`utf8_percent_encode`].
52-
/// This is simlar to [percent-encode sets](https://url.spec.whatwg.org/#percent-encoded-bytes).
51+
/// This is used in [`percent_encode`] and [`utf8_percent_encode`].
52+
/// This is similar to [percent-encode sets](https://url.spec.whatwg.org/#percent-encoded-bytes).
5353
///
5454
/// Use the `add` method of an existing set to define a new set. For example:
5555
///

0 commit comments

Comments
 (0)