Clippy fixes

This commit is contained in:
Candifloss 2025-12-17 21:41:08 +05:30
parent e83e2df49d
commit 6bb785be02
2 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
use anyhow::{Context, Result}; use anyhow::Result;
use std::thread; use std::thread;
use std::time::Duration; use std::time::Duration;
use x11rb::wrapper::ConnectionExt as _; use x11rb::wrapper::ConnectionExt as _;

View File

@ -27,7 +27,7 @@ pub struct PreparedWallpaper {
/// Convert RGBA byte order to BGRA. /// 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. /// BGRX/BGRA byte order on little-endian systems.
/// Swap red and blue channels to match the servers native pixel layout. /// Swap red and blue channels to match the servers native pixel layout.
/// Without this conversion, colors appear incorrect. /// Without this conversion, colors appear incorrect.