From 472aeb56a7f98cff75d4c26f0d856456d5d3d68d Mon Sep 17 00:00:00 2001 From: Daniel Rainer Date: Thu, 7 Nov 2024 23:55:43 +0100 Subject: [PATCH] Fix "the the" typos --- src/blocks.rs | 6 +++--- src/blocks/hueshift.rs | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/blocks.rs b/src/blocks.rs index ed797b1e54..752d954849 100644 --- a/src/blocks.rs +++ b/src/blocks.rs @@ -165,7 +165,7 @@ define_blocks!( amd_gpu, #[deprecated( since = "0.33.0", - note = "The block has been deprecated in favor of the the packages block" + note = "The block has been deprecated in favor of the packages block" )] apt, backlight, @@ -178,7 +178,7 @@ define_blocks!( disk_space, #[deprecated( since = "0.33.0", - note = "The block has been deprecated in favor of the the packages block" + note = "The block has been deprecated in favor of the packages block" )] dnf, docker, @@ -201,7 +201,7 @@ define_blocks!( packages, #[deprecated( since = "0.33.0", - note = "The block has been deprecated in favor of the the packages block" + note = "The block has been deprecated in favor of the packages block" )] pacman, pomodoro, diff --git a/src/blocks/hueshift.rs b/src/blocks/hueshift.rs index 9740016bff..9d3bd89b43 100644 --- a/src/blocks/hueshift.rs +++ b/src/blocks/hueshift.rs @@ -316,7 +316,7 @@ impl HueShiftDriver for Wlsunset { // night temp: 4000K // latitude/longitude: NaN // ^ results in sun_condition == POLAR_NIGHT at time of testing - // With these defaults, this results in the the color temperature + // With these defaults, this results in the color temperature // getting set to 4000K. spawn_process("pkill", &["wlsunset"]) .error("Failed to set new color temperature using wlsunset.")