Skip to content

docs: 📝 Apple Vision Pro support in progress #108

docs: 📝 Apple Vision Pro support in progress

docs: 📝 Apple Vision Pro support in progress #108

GitHub Actions / clippy succeeded Feb 7, 2024 in 0s

clippy

3 warnings

Details

Results

Message level Amount
Internal compiler error 0
Error 0
Warning 3
Note 0
Help 0

Versions

  • rustc 1.75.0 (82e1608df 2023-12-21)
  • cargo 1.75.0 (1d8b05cdd 2023-11-20)
  • clippy 0.1.75 (82e1608d 2023-12-21)

Annotations

Check warning on line 761 in alvr\launcher\src\main.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

variable does not need to be mutable

warning: variable does not need to be mutable
   --> alvr\launcher\src\main.rs:761:9
    |
761 |     let mut installation_dir = data_dir().extended(VERSIONS_SUBDIR).extended(&release.tag);
    |         ----^^^^^^^^^^^^^^^^
    |         |
    |         help: remove this `mut`
    |
    = note: `#[warn(unused_mut)]` on by default

Check warning on line 6 in alvr\launcher\src\main.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

unused import: `Permissions`

warning: unused import: `Permissions`
 --> alvr\launcher\src\main.rs:6:22
  |
6 |     fs::{self, File, Permissions},
  |                      ^^^^^^^^^^^
  |
  = note: `#[warn(unused_imports)]` on by default

Check warning on line 74 in alvr\server_io\src\openvrpaths.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

accessing first element with `from_openvr_paths(paths_json).get(0)`

warning: accessing first element with `from_openvr_paths(paths_json).get(0)`
  --> alvr\server_io\src\openvrpaths.rs:74:5
   |
74 |     from_openvr_paths(paths_json).get(0).cloned().to_any()
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `from_openvr_paths(paths_json).first()`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first
   = note: `#[warn(clippy::get_first)]` on by default