mirror of
https://github.com/servo/servo.git
synced 2025-08-07 14:35:33 +01:00
style: Specify the type of a pointer.
This avoids nightly warnings.
This commit is contained in:
parent
20a0d52598
commit
99dfc67d60
1 changed files with 1 additions and 1 deletions
|
@ -1776,7 +1776,7 @@ impl<'le> Eq for GeckoElement<'le> {}
|
||||||
impl<'le> Hash for GeckoElement<'le> {
|
impl<'le> Hash for GeckoElement<'le> {
|
||||||
#[inline]
|
#[inline]
|
||||||
fn hash<H: Hasher>(&self, state: &mut H) {
|
fn hash<H: Hasher>(&self, state: &mut H) {
|
||||||
(self.0 as *const _).hash(state);
|
(self.0 as *const RawGeckoElement).hash(state);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue