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: pca006132
GPG Key ID: 16997BD76CECCA4C

View File

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