Browse Source

spl: import deref (#2122)

Armani Ferrante 3 years ago
parent
commit
e134cce3f3
1 changed files with 1 additions and 0 deletions
  1. 1 0
      spl/src/metadata.rs

+ 1 - 0
spl/src/metadata.rs

@@ -4,6 +4,7 @@ use mpl_token_metadata::state::{CollectionDetails, DataV2};
 use mpl_token_metadata::ID;
 use solana_program::account_info::AccountInfo;
 use solana_program::pubkey::Pubkey;
+use std::ops::Deref;
 
 #[derive(Clone)]
 pub struct Metadata;