Skip to content

Merge pull request #329 from JakeStanger/dependabot/cargo/regex-1.10.2 #244

Merge pull request #329 from JakeStanger/dependabot/cargo/regex-1.10.2

Merge pull request #329 from JakeStanger/dependabot/cargo/regex-1.10.2 #244

Triggered via push October 16, 2023 18:59
Status Success
Total duration 20s
Artifacts

wiki.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

6 warnings
use of `or_insert_with` to construct default value: src/desktop_file.rs#L183
warning: use of `or_insert_with` to construct default value --> src/desktop_file.rs:183:18 | 183 | .or_insert_with(Vec::new) | ^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `or_default()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unwrap_or_default = note: `#[warn(clippy::unwrap_or_default)]` on by default
associated function `new` is never used: src/modules/mod.rs#L88
warning: associated function `new` is never used --> src/modules/mod.rs:88:8 | 87 | impl<W: IsA<Widget>> ModuleParts<W> { | ----------------------------------- associated function in this implementation 88 | fn new(widget: W, popup: Option<ModulePopupParts>) -> Self { | ^^^
constant `ERR_WAYLAND_DATA` is never used: src/error.rs#L14
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
variable does not need to be mutable: src/main.rs#L170
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
unused variable: `qh`: src/clients/wayland/wl_seat.rs#L20
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
use of `or_insert_with` to construct default value: src/desktop_file.rs#L183
warning: use of `or_insert_with` to construct default value --> src/desktop_file.rs:183:18 | 183 | .or_insert_with(Vec::new) | ^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `or_default()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unwrap_or_default = note: `#[warn(clippy::unwrap_or_default)]` on by default