Skip to content

Commit

Permalink
!fixup another attempt at fixing non_local_definition
Browse files Browse the repository at this point in the history
  • Loading branch information
dmkozh committed Dec 10, 2024
1 parent 1a84a27 commit eb9a838
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion soroban-env-common/src/storage_type.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#![allow(non_local_definitions)]
use crate::{
declare_wasmi_marshal_for_enum,
xdr::{ContractDataDurability, ScErrorCode, ScErrorType},
Expand All @@ -8,7 +9,6 @@ use num_derive::FromPrimitive;
/// an argument to storage functions. It doesn't correspond to any [`Val`] types,
/// and is passed by direct marshalling as a u64.
#[repr(u64)]
#[allow(non_local_definitions)]
#[derive(Debug, FromPrimitive, PartialEq, Eq, Clone, Copy)]
pub enum StorageType {
Temporary = 0,
Expand Down

0 comments on commit eb9a838

Please sign in to comment.