diff options
Diffstat (limited to 'src/color_cache.rs')
-rw-r--r-- | src/color_cache.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/color_cache.rs b/src/color_cache.rs index 53339d3..9b09439 100644 --- a/src/color_cache.rs +++ b/src/color_cache.rs @@ -7,7 +7,7 @@ use tuikit::attr::Color; /// Holds a map of extension name to color. /// Every extension is associated to a color which is only computed once /// per run. This trades a bit of memory for a bit of CPU. -#[derive(Default)] +#[derive(Default, Clone, Debug)] pub struct ColorCache { cache: RefCell<HashMap<String, Color>>, } |