From 92e8b80da82c41360eb90855c50774caf1fd1888 Mon Sep 17 00:00:00 2001 From: "B. Petersen" Date: Wed, 19 Jun 2024 23:39:31 +0200 Subject: [PATCH] docs: remove misleading configuration comment we're always checking the configuration encrypted. saying it is 'preferred' encrypted is misleading, therfore, just remove it. i do not think, it is worth saying that we do not query 'http', this is clear from the source code. moreover, fix two typos. --- src/configure.rs | 4 ++-- src/net/http.rs | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/configure.rs b/src/configure.rs index dafd0c04c..1b1bccac7 100644 --- a/src/configure.rs +++ b/src/configure.rs @@ -513,8 +513,8 @@ async fn configure(ctx: &Context, param: &mut LoginParam) -> Result<()> { /// Retrieve available autoconfigurations. /// -/// A Search configurations from the domain used in the email-address, prefer encrypted -/// B. If we have no configuration yet, search configuration in Thunderbird's centeral database +/// A. Search configurations from the domain used in the email-address +/// B. If we have no configuration yet, search configuration in Thunderbird's central database async fn get_autoconfig( ctx: &Context, param: &LoginParam, diff --git a/src/net/http.rs b/src/net/http.rs index 6f31e3348..8a3a906f9 100644 --- a/src/net/http.rs +++ b/src/net/http.rs @@ -24,7 +24,7 @@ pub struct Response { /// Response body. pub blob: Vec, - /// MIME type exntracted from the `Content-Type` header, if any. + /// MIME type extracted from the `Content-Type` header, if any. pub mimetype: Option, /// Encoding extracted from the `Content-Type` header, if any.