From 3fcd17e6a5bce0101a65a97160440c4b004209a8 Mon Sep 17 00:00:00 2001 From: link2xt Date: Tue, 27 Dec 2022 12:02:23 +0000 Subject: [PATCH] Add missing documentation for Summary constructor --- src/summary.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/summary.rs b/src/summary.rs index cbf301ed7..5b4d3f0bc 100644 --- a/src/summary.rs +++ b/src/summary.rs @@ -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,