From 0f189c24fa58145327fe1d7a0154e57b17229f57 Mon Sep 17 00:00:00 2001 From: Devin Ragotzy Date: Sun, 7 Feb 2021 15:31:18 -0500 Subject: [PATCH] Add docs to the Notice struct --- src/database/pusher.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/database/pusher.rs b/src/database/pusher.rs index 60b21fc..2380196 100644 --- a/src/database/pusher.rs +++ b/src/database/pusher.rs @@ -523,6 +523,8 @@ async fn send_notice( Ok(()) } +/// Internal Notifications struct to avoid liftime errors when batching +/// the futures. #[derive(Debug, Default)] struct Notice { event_id: Option,