From 6bb785be0296ab4ff5e0eb4a282969707c82f370 Mon Sep 17 00:00:00 2001 From: Candifloss Date: Wed, 17 Dec 2025 21:41:08 +0530 Subject: [PATCH] Clippy fixes --- src/main.rs | 2 +- src/wallpaper.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main.rs b/src/main.rs index fef7247..a7aac76 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,4 +1,4 @@ -use anyhow::{Context, Result}; +use anyhow::Result; use std::thread; use std::time::Duration; use x11rb::wrapper::ConnectionExt as _; diff --git a/src/wallpaper.rs b/src/wallpaper.rs index ba4d99e..59bfb21 100644 --- a/src/wallpaper.rs +++ b/src/wallpaper.rs @@ -27,7 +27,7 @@ pub struct PreparedWallpaper { /// Convert RGBA byte order to BGRA. /// -/// Image libraries produce RGBA, but X11 TrueColor visuals typically use +/// Image libraries produce RGBA, but X11 `TrueColor` visuals typically use /// BGRX/BGRA byte order on little-endian systems. /// Swap red and blue channels to match the server’s native pixel layout. /// Without this conversion, colors appear incorrect.