Fix broken TLS anchor link in docs overview

Now correctly links to:
https://docs.rs/ureq/latest/ureq/#https--tls--ssl

Introduced in 56276c3742.

Also fixes a rustdoc typo spotted by my IDE's spell checker whilst the
project was open.
This commit is contained in:
Ed Morley
2022-02-25 12:02:21 +00:00
committed by Martin Algesten
parent 21238ef2e0
commit a8ed085a93
3 changed files with 3 additions and 3 deletions

View File

@@ -17,7 +17,7 @@
//! Ureq is in pure Rust for safety and ease of understanding. It avoids using
//! `unsafe` directly. It [uses blocking I/O][blocking] instead of async I/O, because that keeps
//! the API simple and and keeps dependencies to a minimum. For TLS, ureq uses
//! [rustls or native-tls](#tls).
//! [rustls or native-tls](#https--tls--ssl).
//!
//! Version 2.0.0 was released recently and changed some APIs. See the [changelog] for details.
//!

View File

@@ -152,7 +152,7 @@ impl Response {
/// The header value for the given name, or None if not found.
///
/// For historical reasons, the HTTP spec allows for header values
/// to be encoded using encodigs like iso-8859-1. Such encodings
/// to be encoded using encodings like iso-8859-1. Such encodings
/// means the values are not possible to interpret as utf-8.
///
/// In case the header value can't be read as utf-8, this function