Skip to content

Commit

Permalink
Add non_exhaustive to query type
Browse files Browse the repository at this point in the history
  • Loading branch information
inahga committed Sep 18, 2023
1 parent 5b37708 commit da93597
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions messages/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2022,6 +2022,7 @@ pub mod query_type {
/// DAP protocol message representing the type of a query.
#[derive(Copy, Clone, Debug, PartialEq, Eq, TryFromPrimitive, Serialize, Deserialize)]
#[repr(u8)]
#[non_exhaustive]
pub enum Code {
Reserved = 0,
TimeInterval = 1,
Expand Down

0 comments on commit da93597

Please sign in to comment.