Fix typos & add documentation (#3569)

* fix typo

* tips & typos

* improve doc string

* update documentation

* fmt

* fix typo
This commit is contained in:
Sebastian Klähn
2022-09-06 11:15:49 +02:00
committed by GitHub
parent 949370ad63
commit 065c7af9a0
3 changed files with 4 additions and 2 deletions

View File

@@ -445,6 +445,8 @@ impl<'a> MimeFactory<'a> {
.collect()
}
/// Consumes a `MimeFactory` and renders it into a message which is then stored in
/// `smtp`-table to be used by the SMTP loop
pub async fn render(mut self, context: &Context) -> Result<RenderedEmail> {
let mut headers: MessageHeaders = Default::default();

View File

@@ -163,7 +163,7 @@ pub enum Param {
/// For Chats: timestamp of group name update.
GroupNameTimestamp = b'g',
/// For Chats: timestamp of group name update.
/// For Chats: timestamp of member list update.
MemberListTimestamp = b'k',
/// For Chats: timestamp of protection settings update.