diff options
author | Ms2ger <ms2ger@gmail.com> | 2015-01-02 12:45:28 +0100 |
---|---|---|
committer | Josh Matthews <josh@joshmatthews.net> | 2015-01-08 09:58:46 -0500 |
commit | 16c7060bc8ff91527ae97f8a3feee5706747b9c5 (patch) | |
tree | 0cc29f2cc50c729d3a8f9521a22991fad67b9afd /components/script/timers.rs | |
parent | cf616b90a236f88058dbad74b568b4d4379d2829 (diff) | |
download | servo-16c7060bc8ff91527ae97f8a3feee5706747b9c5.tar.gz servo-16c7060bc8ff91527ae97f8a3feee5706747b9c5.zip |
Update rustc to revision 2cfb5acb5a2751c759627377e602bac4f88f2d19.
Diffstat (limited to 'components/script/timers.rs')
-rw-r--r-- | components/script/timers.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/components/script/timers.rs b/components/script/timers.rs index 0502bdfcd38..f449fa81507 100644 --- a/components/script/timers.rs +++ b/components/script/timers.rs @@ -25,6 +25,7 @@ use std::time::duration::Duration; #[deriving(PartialEq, Eq)] #[jstraceable] +#[deriving(Copy)] pub struct TimerId(i32); #[jstraceable] @@ -67,7 +68,7 @@ impl Drop for TimerManager { // Enum allowing more descriptive values for the is_interval field #[jstraceable] -#[deriving(PartialEq, Clone)] +#[deriving(PartialEq, Copy, Clone)] pub enum IsInterval { Interval, NonInterval, |