mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-11-01 00:19:49 +00:00
add Copy to Moment type (#3476)
* add Copy to Moment type * bump version * add Copy to support::Traits::Time::Moment and removed few clones
This commit is contained in:
1 parent
672e62fe0f
commit
da03850eed
6 files changed
+11
-11
No files matched your search
@@ -620,7 +620,7 @@ bitmask! {
|
||||
}
|
||||
|
||||
pub trait Time {
|
||||
type Moment: SimpleArithmetic + Codec + Clone + Default;
|
||||
type Moment: SimpleArithmetic + Codec + Clone + Default + Copy;
|
||||
|
||||
fn now() -> Self::Moment;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user