mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Use u32 for Epoch.
This commit is contained in:
parent
43ed033eff
commit
ac3c076892
1 changed files with 1 additions and 1 deletions
|
@ -34,7 +34,7 @@ pub enum ReadyState {
|
||||||
|
|
||||||
/// A newtype struct for denoting the age of messages; prevents race conditions.
|
/// A newtype struct for denoting the age of messages; prevents race conditions.
|
||||||
#[derive(PartialEq, Eq, Debug, Copy)]
|
#[derive(PartialEq, Eq, Debug, Copy)]
|
||||||
pub struct Epoch(pub uint);
|
pub struct Epoch(pub u32);
|
||||||
|
|
||||||
impl Epoch {
|
impl Epoch {
|
||||||
pub fn next(&mut self) {
|
pub fn next(&mut self) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue