Remove or fix stale todos (#3990)

The software equivalent of dusting

Release Notes:

-
This commit is contained in:
Mikayla Maki
2024-01-09 18:37:35 -08:00
committed by GitHub
38 changed files with 186 additions and 360 deletions
+1
View File
@@ -223,6 +223,7 @@ pub struct ThemeStyles {
#[refineable]
pub status: StatusColors,
pub player: PlayerColors,
pub syntax: Arc<SyntaxTheme>,
}
-2
View File
@@ -122,12 +122,10 @@ impl PlayerColors {
impl PlayerColors {
pub fn local(&self) -> PlayerColor {
// todo!("use a valid color");
*self.0.first().unwrap()
}
pub fn absent(&self) -> PlayerColor {
// todo!("use a valid color");
*self.0.last().unwrap()
}