dex: Fix compiler error triggered when compiling with rust 1.52 (#123)

This commit is contained in:
Dmitri Makarov 2021-05-20 05:21:28 +02:00 committed by GitHub
parent 6690408859
commit 5420646709
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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