From 9742331f6d1537c36edc31cceb71cee6baa2eecc Mon Sep 17 00:00:00 2001 From: Paul van Tilburg Date: Fri, 26 May 2023 20:44:24 +0200 Subject: [PATCH] Annote the map key colors in the comments --- src/maps.rs | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/src/maps.rs b/src/maps.rs index 628c305..c407139 100644 --- a/src/maps.rs +++ b/src/maps.rs @@ -78,16 +78,16 @@ type MapKeyHistogram = HashMap, u32>; /// Note that the actual score starts from 1, not 0 as per this array. #[rustfmt::skip] const MAP_KEY: [[u8; 3]; 10] = [ - [0x49, 0xDA, 0x21], - [0x30, 0xD2, 0x00], - [0xFF, 0xF8, 0x8B], - [0xFF, 0xF6, 0x42], - [0xFD, 0xBB, 0x31], - [0xFD, 0x8E, 0x24], - [0xFC, 0x10, 0x3E], - [0x97, 0x0A, 0x33], - [0xA6, 0x6D, 0xBC], - [0xB3, 0x30, 0xA1], + [0x49, 0xDA, 0x21], // #49DA21 + [0x30, 0xD2, 0x00], // #30D200 + [0xFF, 0xF8, 0x8B], // #FFF88B + [0xFF, 0xF6, 0x42], // #FFF642 + [0xFD, 0xBB, 0x31], // #FDBB31 + [0xFD, 0x8E, 0x24], // #FD8E24 + [0xFC, 0x10, 0x3E], // #FC103E + [0x97, 0x0A, 0x33], // #970A33 + [0xA6, 0x6D, 0xBC], // #A66DBC + [0xB3, 0x30, 0xA1], // #B330A1 ]; /// The Buienradar map sample size.