Skip to content

Commit

Permalink
Add #[non_exhaustive]
Browse files Browse the repository at this point in the history
  • Loading branch information
wtfsck committed Feb 23, 2022
1 parent 4e1bbbc commit 4b03315
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/rust/iced-x86/src/code_asm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,7 @@ impl CodeLabel {

/// Result of assembling the instructions
#[derive(Debug)]
#[cfg_attr(not(feature = "exhaustive_enums"), non_exhaustive)]
pub struct CodeAssemblerResult {
/// Inner `BlockEncoder` result
pub inner: BlockEncoderResult,
Expand Down

0 comments on commit 4b03315

Please sign in to comment.