Mark webhooks::Options as #[must_use]

Former-commit-id: db59b47674
This commit is contained in:
Maybe Waffle 2022-07-04 23:52:59 +04:00
parent f46358878b
commit c87b6d4f41

View file

@ -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,