Skip to content

Commit

Permalink
fix: remove unnecessary allow; fix capitalization
Browse files Browse the repository at this point in the history
  • Loading branch information
w-lfchen committed Aug 22, 2024
1 parent dde8c7e commit 63f9121
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions crates/eww/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@ fn main() {
return;
}

#[allow(unused)]
let detected_wayland = detect_wayland();
#[allow(unused)]
let use_wayland = opts.force_wayland || detected_wayland;
Expand All @@ -69,7 +68,7 @@ fn main() {
#[cfg(all(not(feature = "wayland"), feature = "x11"))]
let result = {
if use_wayland {
log::warn!("Eww compiled without wayland support. falling back to X11, eventhough wayland was requested.");
log::warn!("Eww compiled without wayland support. Falling back to X11, eventhough wayland was requested.");
}
run::<display_backend::X11Backend>(opts, eww_binary_name)
};
Expand Down

0 comments on commit 63f9121

Please sign in to comment.