Use u32 for Epoch.

This commit is contained in:
Ms2ger 2015-03-27 17:31:57 +01:00
parent 43ed033eff
commit ac3c076892

View file

@ -34,7 +34,7 @@ pub enum ReadyState {
/// A newtype struct for denoting the age of messages; prevents race conditions.
#[derive(PartialEq, Eq, Debug, Copy)]
pub struct Epoch(pub uint);
pub struct Epoch(pub u32);
impl Epoch {
pub fn next(&mut self) {