mirror of https://github.com/icedland/iced.git
Add `#[non_exhaustive]`
This commit is contained in:
parent
4e1bbbc476
commit
4b0331590e
|
@ -207,6 +207,7 @@ impl CodeLabel {
|
||||||
|
|
||||||
/// Result of assembling the instructions
|
/// Result of assembling the instructions
|
||||||
#[derive(Debug)]
|
#[derive(Debug)]
|
||||||
|
#[cfg_attr(not(feature = "exhaustive_enums"), non_exhaustive)]
|
||||||
pub struct CodeAssemblerResult {
|
pub struct CodeAssemblerResult {
|
||||||
/// Inner `BlockEncoder` result
|
/// Inner `BlockEncoder` result
|
||||||
pub inner: BlockEncoderResult,
|
pub inner: BlockEncoderResult,
|
||||||
|
|
Loading…
Reference in New Issue