Fix typos (#944)

Found via `codespell -S fixtures -L crate,reacher,t`
This commit is contained in:
Kian-Meng Ang 2023-02-09 22:32:16 +08:00 committed by GitHub
parent 550f3a0088
commit 9fa1d732f7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View file

@ -52,7 +52,7 @@ const CONNECT_TIMEOUT: u64 = 10;
/// TCP keepalive.
///
/// See <https://tldp.org/HOWTO/TCP-Keepalive-HOWTO/overview.html> for more
/// infomation.
/// information.
const TCP_KEEPALIVE: u64 = 60;
/// Builder for [`Client`].
@ -254,7 +254,7 @@ pub struct ClientBuilder {
/// When `true`, requires using HTTPS when it's available.
///
/// This would treat unencrypted links as errors when HTTPS is avaliable.
/// This would treat unencrypted links as errors when HTTPS is available.
/// It has no effect on non-HTTP schemes or if the URL doesn't support
/// HTTPS.
require_https: bool,
@ -398,7 +398,7 @@ pub struct Client {
/// Requires using HTTPS when it's available.
///
/// This would treat unencrypted links as errors when HTTPS is avaliable.
/// This would treat unencrypted links as errors when HTTPS is available.
require_https: bool,
/// Override behaviors for certain known issues with special URIs.

View file

@ -12,7 +12,7 @@
// Notes on terminology:
// The major difference between URI (Uniform Resource Identifier) and
// URL (Uniform Resource Locator) is that the former is an indentifier for
// URL (Uniform Resource Locator) is that the former is an identifier for
// resources and the latter is a locator.
// We are not interested in differentiating resources by names and the purpose of
// remapping is to provide an alternative **location** in certain