mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
clippy: Fix dereferenced warnings (#31770)
This commit is contained in:
parent
0cf2caba06
commit
02a0cdd6fa
43 changed files with 92 additions and 96 deletions
|
@ -214,8 +214,7 @@ impl NavigatorMethods for Navigator {
|
|||
|
||||
/// <https://immersive-web.github.io/webxr/#dom-navigator-xr>
|
||||
fn Xr(&self) -> DomRoot<XRSystem> {
|
||||
self.xr
|
||||
.or_init(|| XRSystem::new(&self.global().as_window()))
|
||||
self.xr.or_init(|| XRSystem::new(self.global().as_window()))
|
||||
}
|
||||
|
||||
/// <https://w3c.github.io/mediacapture-main/#dom-navigator-mediadevices>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue