Mark Data non-exhaustive

This commit is contained in:
Joscha 2022-06-22 21:50:17 +02:00
parent aa47233794
commit 041ab0c530

View file

@ -20,6 +20,7 @@ pub trait Command {
macro_rules! packets {
( $( $name:ident, )*) => {
#[derive(Debug, Clone)]
#[non_exhaustive]
pub enum Data {
$( $name(super::$name), )*
Unimplemented,