Add missing documentation for Summary constructor

This commit is contained in:
link2xt
2022-12-27 12:02:23 +00:00
parent c562d17925
commit 3fcd17e6a5

View File

@@ -1,7 +1,5 @@
//! # Message summary for chatlist.
#![allow(missing_docs)]
use crate::chat::Chat;
use crate::constants::Chattype;
use crate::contact::{Contact, ContactId};
@@ -54,6 +52,8 @@ pub struct Summary {
}
impl Summary {
/// Constucts chatlist summary
/// from the provided message, chat and message author contact snapshots.
pub async fn new(
context: &Context,
msg: &Message,