Skip to content

Commit

Permalink
Make WriteRequest non_exhaustive
Browse files Browse the repository at this point in the history
  • Loading branch information
chrysn committed Mar 12, 2023
1 parent 3345f09 commit 5a4ecd0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/gatt/event.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ pub struct ReadRequest {
}

#[derive(Debug)]
#[non_exhaustive]
pub struct WriteRequest {
pub data: Vec<u8>,
pub offset: u16,
Expand Down

0 comments on commit 5a4ecd0

Please sign in to comment.