Skip to content

Merge pull request #270 from JakeStanger/build/hyprland #519

Merge pull request #270 from JakeStanger/build/hyprland

Merge pull request #270 from JakeStanger/build/hyprland #519

GitHub Actions / clippy succeeded Aug 11, 2023 in 0s

clippy

4 warnings

Details

Results

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

Versions

  • rustc 1.71.1 (eb26296b5 2023-08-03)
  • cargo 1.71.1 (7f1d04c00 2023-07-29)
  • clippy 0.1.71 (eb26296 2023-08-03)

Annotations

Check warning on line 87 in src/modules/mod.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

associated function `new` is never used

warning: associated function `new` is never used
  --> src/modules/mod.rs:87:8
   |
86 | impl<W: IsA<Widget>> ModuleParts<W> {
   | ----------------------------------- associated function in this implementation
87 |     fn new(widget: W, popup: Option<ModulePopupParts>) -> Self {
   |        ^^^

Check warning on line 14 in src/error.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

constant `ERR_WAYLAND_DATA` is never used

warning: constant `ERR_WAYLAND_DATA` is never used
  --> src/error.rs:14:11
   |
14 | pub const ERR_WAYLAND_DATA: &str = "Failed to get data for Wayland object";
   |           ^^^^^^^^^^^^^^^^
   |
   = note: `#[warn(dead_code)]` on by default

Check warning on line 170 in 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
   --> src/main.rs:170:9
    |
170 |     let mut config = env::var("IRONBAR_CONFIG")
    |         ----^^^^^^
    |         |
    |         help: remove this `mut`
    |
    = note: `#[warn(unused_mut)]` on by default

Check warning on line 20 in src/clients/wayland/wl_seat.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

unused variable: `qh`

warning: unused variable: `qh`
  --> src/clients/wayland/wl_seat.rs:20:9
   |
20 |         qh: &QueueHandle<Self>,
   |         ^^ help: if this is intentional, prefix it with an underscore: `_qh`
   |
   = note: `#[warn(unused_variables)]` on by default