diff --git a/lychee-lib/src/client.rs b/lychee-lib/src/client.rs index c5f5c9d..0e205fa 100644 --- a/lychee-lib/src/client.rs +++ b/lychee-lib/src/client.rs @@ -52,7 +52,7 @@ const CONNECT_TIMEOUT: u64 = 10; /// TCP keepalive. /// /// See 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. diff --git a/lychee-lib/src/remap.rs b/lychee-lib/src/remap.rs index bd74177..03d0d36 100644 --- a/lychee-lib/src/remap.rs +++ b/lychee-lib/src/remap.rs @@ -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