Skip to content

Update dependencies and fix warnings #41

Update dependencies and fix warnings

Update dependencies and fix warnings #41

GitHub Actions / Run clippy (macos-latest, no default features) succeeded Apr 14, 2024 in 0s

Run clippy (macos-latest, no default features)

4 warnings

Details

Results

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

Versions

  • rustc 1.79.0-nightly (0bf471f33 2024-04-13)
  • cargo 1.79.0-nightly (48eca1b16 2024-04-12)
  • clippy 0.1.79 (0bf471f3 2024-04-13)

Annotations

Check warning on line 268 in frontend/desktop/src/utils.rs

See this annotation in the file changed.

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

function `format_size_shift` is never used

warning: function `format_size_shift` is never used
   --> frontend/desktop/src/utils.rs:268:8
    |
268 | pub fn format_size_shift(shift: usize) -> String {
    |        ^^^^^^^^^^^^^^^^^

Check warning on line 261 in frontend/desktop/src/utils.rs

See this annotation in the file changed.

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

function `format_size` is never used

warning: function `format_size` is never used
   --> frontend/desktop/src/utils.rs:261:8
    |
261 | pub fn format_size(size: u32) -> String {
    |        ^^^^^^^^^^^
    |
    = note: `#[warn(dead_code)]` on by default

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

See this annotation in the file changed.

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

unused variable: `window`

warning: unused variable: `window`
   --> frontend/desktop/src/ui.rs:668:49
    |
668 |     fn stop_emu(&mut self, config: &mut Config, window: &mut window::Window) {
    |                                                 ^^^^^^ help: if this is intentional, prefix it with an underscore: `_window`
    |
    = note: `#[warn(unused_variables)]` on by default

Check warning on line 5 in frontend/desktop/src/main.rs

See this annotation in the file changed.

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

the feature `slice_ptr_len` has been stable since 1.79.0-nightly and no longer requires an attribute to enable

warning: the feature `slice_ptr_len` has been stable since 1.79.0-nightly and no longer requires an attribute to enable
 --> frontend/desktop/src/main.rs:5:5
  |
5 |     slice_ptr_len,
  |     ^^^^^^^^^^^^^
  |
  = note: `#[warn(stable_features)]` on by default