mirror of
https://github.com/servo/servo.git
synced 2025-07-29 02:00:23 +01:00
Use usize and u32 for LayerId.
This commit is contained in:
parent
ac3c076892
commit
37c271a260
3 changed files with 6 additions and 9 deletions
|
@ -44,7 +44,7 @@ impl Epoch {
|
|||
}
|
||||
|
||||
#[derive(Clone, PartialEq, Eq, Copy)]
|
||||
pub struct LayerId(pub uint, pub uint);
|
||||
pub struct LayerId(pub usize, pub u32);
|
||||
|
||||
impl Debug for LayerId {
|
||||
fn fmt(&self, f: &mut Formatter) -> fmt::Result {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue