From a62dc6ff16341af46287b778697e5e5f8cda8946 Mon Sep 17 00:00:00 2001 From: Finn Bear Date: Wed, 25 Sep 2024 13:07:43 -0700 Subject: [PATCH] Remove non_exhaustive on struct since not compatible with ..Default::default(). --- Cargo.toml | 2 +- src/context.rs | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 6880a2c..80c7b4e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "rustrict" authors = ["Finn Bear"] -version = "0.7.30" +version = "0.7.31" edition = "2021" license = "MIT OR Apache-2.0" repository = "https://github.com/finnbear/rustrict/" diff --git a/src/context.rs b/src/context.rs index a6ab557..3b7f66f 100644 --- a/src/context.rs +++ b/src/context.rs @@ -49,7 +49,6 @@ impl Debug for Context { /// as new fields may be added in the future. #[derive(Clone, Debug)] #[cfg_attr(doc, doc(cfg(feature = "context")))] -#[non_exhaustive] pub struct ContextProcessingOptions { /// Block messages if the user has been manually muted. pub block_if_muted: bool,