Remove or fix stale todos (#3990)
The software equivalent of dusting Release Notes: -
This commit is contained in:
commit
45baad2825
38 changed files with 186 additions and 360 deletions
|
@ -223,6 +223,7 @@ pub struct ThemeStyles {
|
|||
|
||||
#[refineable]
|
||||
pub status: StatusColors,
|
||||
|
||||
pub player: PlayerColors,
|
||||
pub syntax: Arc<SyntaxTheme>,
|
||||
}
|
||||
|
|
|
@ -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()
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue