forked from M-Labs/zynq-rs
1
0
Fork 0

Added Copy trait for Milliseconds struct.

This commit is contained in:
pca006132 2020-06-16 14:56:29 +08:00
parent d52466cacf
commit 191da7c959
Signed by untrusted user: pca006132
GPG Key ID: 16997BD76CECCA4C
1 changed files with 1 additions and 1 deletions

View File

@ -1,4 +1,4 @@
#[derive(Debug, Clone, PartialEq, PartialOrd)] #[derive(Debug, Clone, Copy, PartialEq, PartialOrd)]
pub struct Milliseconds(pub u64); pub struct Milliseconds(pub u64);
impl core::ops::Add for Milliseconds { impl core::ops::Add for Milliseconds {