Skip to content

Minor fixes

Minor fixes #74

GitHub Actions / Run clippy (ubuntu-latest, no default features) succeeded Aug 6, 2024 in 0s

Run clippy (ubuntu-latest, no default features)

2 warnings

Details

Results

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

Versions

  • rustc 1.82.0-nightly (e57f3090a 2024-08-05)
  • cargo 1.82.0-nightly (fa6465836 2024-08-02)
  • clippy 0.1.82 (e57f309 2024-08-05)

Annotations

Check warning on line 611 in frontend/desktop/src/ui/window.rs

See this annotation in the file changed.

@github-actions github-actions / Run clippy (ubuntu-latest, no default features)

variable does not need to be mutable

warning: variable does not need to be mutable
   --> frontend/desktop/src/ui/window.rs:611:25
    |
611 |                     let mut window_attrs = WinitWindow::default_attributes()
    |                         ----^^^^^^^^^^^^
    |                         |
    |                         help: remove this `mut`
    |
    = note: `#[warn(unused_mut)]` on by default

Check warning on line 599 in frontend/desktop/src/ui/window.rs

See this annotation in the file changed.

@github-actions github-actions / Run clippy (ubuntu-latest, no default features)

use of deprecated method `winit::event_loop::EventLoop::<T>::run`: use `EventLoop::run_app` instead

warning: use of deprecated method `winit::event_loop::EventLoop::<T>::run`: use `EventLoop::run_app` instead
   --> frontend/desktop/src/ui/window.rs:599:33
    |
599 |         let _ = self.event_loop.run(move |event, elwt| {
    |                                 ^^^
    |
    = note: `#[warn(deprecated)]` on by default