better hints

This commit is contained in:
Simon Gardling
2022-05-10 14:58:05 -04:00
parent b7c734205d
commit 72943f5e2f
4 changed files with 76 additions and 34 deletions

View File

@@ -11,7 +11,7 @@ fn compare_len_reverse_alpha(a: &String, b: &String) -> Ordering {
/// Generates hashmap (well really a vector of tuple of strings that are then turned into a hashmap by phf)
#[allow(dead_code)]
pub(crate) fn compile_hashmap(data: Vec<String>) -> Vec<(String, String)> {
fn compile_hashmap(data: Vec<String>) -> Vec<(String, String)> {
let mut seen = HashSet::new();
let tuple_list_1: Vec<(String, String)> = data