Skip to content
This repository was archived by the owner on Mar 11, 2025. It is now read-only.

Commit 727fdd7

Browse files
authored
feat: StateWithExtensionsOwned impl Clone for easier client usage (#4583)
1 parent def28e1 commit 727fdd7

File tree

1 file changed

+1
-1
lines changed
  • token/program-2022/src/extension

1 file changed

+1
-1
lines changed

token/program-2022/src/extension/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,7 @@ pub trait BaseStateWithExtensions<S: BaseState> {
296296
}
297297

298298
/// Encapsulates owned immutable base state data (mint or account) with possible extensions
299-
#[derive(Debug, PartialEq)]
299+
#[derive(Clone, Debug, PartialEq)]
300300
pub struct StateWithExtensionsOwned<S: BaseState> {
301301
/// Unpacked base data
302302
pub base: S,

0 commit comments

Comments
 (0)