mirror of
https://github.com/servo/servo.git
synced 2025-07-18 04:43:41 +01:00
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> |
||
---|---|---|
.. | ||
graphics.rs | ||
graphics_d3d11.rs | ||
input.rs | ||
interaction_profiles.rs | ||
mod.rs |