Browse Source

Add docs to the Notice struct

merge-requests/18/head
Devin Ragotzy 5 years ago
parent
commit
0f189c24fa
  1. 2
      src/database/pusher.rs

2
src/database/pusher.rs

@ -523,6 +523,8 @@ async fn send_notice(
Ok(()) Ok(())
} }
/// Internal Notifications struct to avoid liftime errors when batching
/// the futures.
#[derive(Debug, Default)] #[derive(Debug, Default)]
struct Notice { struct Notice {
event_id: Option<EventId>, event_id: Option<EventId>,

Loading…
Cancel
Save