From db59b476749d9a8922c4a0618aa38ffab5f020d9 Mon Sep 17 00:00:00 2001 From: Maybe Waffle Date: Mon, 4 Jul 2022 23:52:59 +0400 Subject: [PATCH] Mark `webhooks::Options` as `#[must_use]` --- src/dispatching/update_listeners/webhooks.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/dispatching/update_listeners/webhooks.rs b/src/dispatching/update_listeners/webhooks.rs index e68cdd90..3cd3d503 100644 --- a/src/dispatching/update_listeners/webhooks.rs +++ b/src/dispatching/update_listeners/webhooks.rs @@ -4,6 +4,7 @@ use std::net::SocketAddr; use crate::{requests::Requester, types::InputFile}; /// Options related to setting up webhooks. +#[must_use] pub struct Options { /// Local address to listen to. pub address: SocketAddr,