Skip to content

Commit

Permalink
dex: Fix compiler error triggered when compiling with rust 1.52 (#123)
Browse files Browse the repository at this point in the history
  • Loading branch information
dmakarov authored May 20, 2021
1 parent 6690408 commit 5420646
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dex/src/state.rs
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,8 @@ pub enum AccountFlag {
Disabled = 1u64 << 7,
}

#[cfg_attr(target_endian = "little", derive(Debug))]
#[derive(Copy, Clone)]
#[cfg_attr(target_endian = "little", derive(Debug))]
#[repr(packed)]
pub struct MarketState {
// 0
Expand Down

0 comments on commit 5420646

Please sign in to comment.