Skip to content

Fix more warnings

Fix more warnings #78

GitHub Actions / Run clippy (ubuntu-latest, all features) succeeded Nov 2, 2024 in 0s

Run clippy (ubuntu-latest, all features)

2 warnings

Details

Results

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

Versions

  • rustc 1.84.0-nightly (705cfe0e9 2024-11-01)
  • cargo 1.84.0-nightly (e75214ea4 2024-10-25)
  • clippy 0.1.84 (705cfe0e96 2024-11-01)

Annotations

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

See this annotation in the file changed.

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

empty line after outer attribute

warning: empty line after outer attribute
    --> frontend/desktop/src/ui.rs:1482:33
     |
1482 | / ...                   #[cfg(feature = "gdb-server")]
1483 | | ...
     | |_
     |
     = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_line_after_outer_attr
note: the lint level is defined here
    --> frontend/desktop/src/main.rs:9:9
     |
9    | #![warn(clippy::all)]
     |         ^^^^^^^^^^^
     = note: `#[warn(clippy::empty_line_after_outer_attr)]` implied by `#[warn(clippy::all)]`
     = help: if the empty line is unintentional remove it

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, all 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