mirror of
https://github.com/chatmail/core.git
synced 2026-04-17 21:46:35 +03:00
Add missing documentation for Summary constructor
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user