servo/components/webxr
Euclid Ye 54a02d5a34
Chore: Fix warnings for openxr (#38045)
These warnings have been there for quite a while and annoying.

```
   Compiling webxr v0.0.1 (D:\servo\components\webxr)
warning: variable does not need to be mutable
   --> components\webxr\openxr\mod.rs:557:17
    |
557 |             let mut context = contexts
    |                 ----^^^^^^^
    |                 |
    |                 help: remove this `mut`
    |
    = note: `#[warn(unused_mut)]` on by default

warning: field `profile_type` is never read
  --> components\webxr\openxr\interaction_profiles.rs:50:9
   |
49 | pub struct InteractionProfile<'a> {
   |            ------------------ field in this struct
50 |     pub profile_type: InteractionProfileType,
   |         ^^^^^^^^^^^^
   |
   = note: `InteractionProfile` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
   = note: `#[warn(dead_code)]` on by default
```

Testing: No behaviour change.

Signed-off-by: Euclid Ye <yezhizhenjiakang@gmail.com>
2025-07-14 06:01:37 +00:00
..
glwindow Update rustfmt to the 2024 style edition (#35764) 2025-03-03 11:26:53 +00:00
headless webxr: Rename sender & receiver type aliases to WebXrSender and WebXrReceiver (#35307) 2025-02-05 21:10:17 +00:00
openxr Chore: Fix warnings for openxr (#38045) 2025-07-14 06:01:37 +00:00
Cargo.toml Removing unused dependencies in crates. (#37096) 2025-05-23 12:58:00 +00:00
gl_utils.rs Use surfman with glow bindings (take II) (#35422) 2025-02-13 07:26:38 +00:00
lib.rs libservo: Expose a ServoBuilder (#36549) 2025-04-16 16:58:52 +00:00
surfman_layer_manager.rs Use surfman with glow bindings (take II) (#35422) 2025-02-13 07:26:38 +00:00