Mark Data non-exhaustive
This commit is contained in:
parent
aa47233794
commit
041ab0c530
1 changed files with 1 additions and 0 deletions
|
|
@ -20,6 +20,7 @@ pub trait Command {
|
|||
macro_rules! packets {
|
||||
( $( $name:ident, )*) => {
|
||||
#[derive(Debug, Clone)]
|
||||
#[non_exhaustive]
|
||||
pub enum Data {
|
||||
$( $name(super::$name), )*
|
||||
Unimplemented,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue