Skip to content

Commit

Permalink
docs: remove misleading configuration comment
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
r10s committed Jun 22, 2024
1 parent 76a84ec commit 92e8b80
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/configure.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion src/net/http.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ pub struct Response {
/// Response body.
pub blob: Vec<u8>,

/// MIME type exntracted from the `Content-Type` header, if any.
/// MIME type extracted from the `Content-Type` header, if any.
pub mimetype: Option<String>,

/// Encoding extracted from the `Content-Type` header, if any.
Expand Down

0 comments on commit 92e8b80

Please sign in to comment.