mirror of
https://github.com/chatmail/core.git
synced 2026-05-09 01:46:30 +03:00
Add missing documentation for Summary constructor
This commit is contained in:
@@ -1,7 +1,5 @@
|
|||||||
//! # Message summary for chatlist.
|
//! # Message summary for chatlist.
|
||||||
|
|
||||||
#![allow(missing_docs)]
|
|
||||||
|
|
||||||
use crate::chat::Chat;
|
use crate::chat::Chat;
|
||||||
use crate::constants::Chattype;
|
use crate::constants::Chattype;
|
||||||
use crate::contact::{Contact, ContactId};
|
use crate::contact::{Contact, ContactId};
|
||||||
@@ -54,6 +52,8 @@ pub struct Summary {
|
|||||||
}
|
}
|
||||||
|
|
||||||
impl Summary {
|
impl Summary {
|
||||||
|
/// Constucts chatlist summary
|
||||||
|
/// from the provided message, chat and message author contact snapshots.
|
||||||
pub async fn new(
|
pub async fn new(
|
||||||
context: &Context,
|
context: &Context,
|
||||||
msg: &Message,
|
msg: &Message,
|
||||||
|
|||||||
Reference in New Issue
Block a user