Skip to content

Commit

Permalink
Ignore dead code
Browse files Browse the repository at this point in the history
  • Loading branch information
emilk committed Dec 19, 2024
1 parent 22595f1 commit 5565fe9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions crates/viewer/re_ui/src/color_table.rs
Original file line number Diff line number Diff line change
Expand Up @@ -157,21 +157,25 @@ impl ColorTable {
}

#[inline]
#[allow(dead_code)]
pub fn green(&self, shade: Scale) -> egui::Color32 {
self.get(ColorToken::green(shade))
}

#[inline]
#[allow(dead_code)]
pub fn red(&self, shade: Scale) -> egui::Color32 {
self.get(ColorToken::red(shade))
}

#[inline]
#[allow(dead_code)]
pub fn blue(&self, shade: Scale) -> egui::Color32 {
self.get(ColorToken::blue(shade))
}

#[inline]
#[allow(dead_code)]
pub fn purple(&self, shade: Scale) -> egui::Color32 {
self.get(ColorToken::purple(shade))
}
Expand Down

0 comments on commit 5565fe9

Please sign in to comment.