From 6442e13a1a25354529b0c34e9300ec3d66d9abc6 Mon Sep 17 00:00:00 2001 From: Simon Laux Date: Thu, 15 Jun 2023 15:07:19 +0200 Subject: [PATCH] add missing docs --- src/events/payload.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/events/payload.rs b/src/events/payload.rs index f1aa41aaa..f18060c42 100644 --- a/src/events/payload.rs +++ b/src/events/payload.rs @@ -285,5 +285,8 @@ pub enum EventType { /// Inform UI that a single chat list item changed and needs to be rerendered /// If `chat_id` is set to None, then all currently visible chats need to be rerendered, and all not-visible items need to be cleared from cache if the UI has a cache. - UIChatListItemChanged { chat_id: Option }, + UIChatListItemChanged { + /// ID of the changed chat + chat_id: Option + }, }