Skip to content

Commit 3502066

Browse files
drop #[non_exhaustive]
1 parent 3948b22 commit 3502066

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

crates/tauri/src/ipc/mod.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -589,7 +589,6 @@ pub struct CallbackFn(pub u32);
589589
///
590590
/// This can be used by frameworks built on Tauri to introspect the registered commands.
591591
#[derive(Debug, Clone, Eq, PartialEq, Hash)]
592-
#[non_exhaustive]
593592
pub struct CommandMetadata {
594593
/// The name of the command including the prefix if it's defined within a plugin.
595594
/// This can be directly passed to `invoke`.
@@ -604,7 +603,6 @@ pub struct CommandMetadata {
604603

605604
/// Represents the Rust `#[deprecated]` attribute on a command.
606605
#[derive(Debug, Clone, Eq, PartialEq, Hash)]
607-
#[non_exhaustive]
608606
pub struct CommandMetadataDeprecated {
609607
/// Deprecation note for the developer.
610608
pub note: Option<&'static str>,

0 commit comments

Comments
 (0)