diff options
author | Clement Tsang <34804052+ClementTsang@users.noreply.github.com> | 2023-04-12 00:03:27 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-12 00:03:27 -0400 |
commit | e61e5f2af6b5f533461e15bb04250e9ad94a6627 (patch) | |
tree | 8149cafafa161679ce8daa08b22d09da40245963 /tests | |
parent | 857b5bade0d71326d43036b4d9b1294caf03f265 (diff) |
deps: Switch to using hashbrown for general hashmap usage (#1092)
* deps: replace fxhash with hashbrown + ahash
* replace std hashmap with hashbrown + ahash
* fmt
* some more fmt
Diffstat (limited to 'tests')
-rw-r--r-- | tests/layout_management_tests.rs | 1 | ||||
-rw-r--r-- | tests/util.rs | 4 |
2 files changed, 3 insertions, 2 deletions
diff --git a/tests/layout_management_tests.rs b/tests/layout_management_tests.rs index fb14eef2..7dd6114c 100644 --- a/tests/layout_management_tests.rs +++ b/tests/layout_management_tests.rs @@ -6,7 +6,6 @@ use bottom::constants::DEFAULT_BATTERY_LAYOUT; use bottom::constants::{DEFAULT_LAYOUT, DEFAULT_WIDGET_ID}; use bottom::options::{layout_options::Row, Config}; use bottom::utils::error; - use toml_edit::de::from_str; // TODO: Could move these into the library files rather than external tbh. diff --git a/tests/util.rs b/tests/util.rs index f7dbebee..40e50305 100644 --- a/tests/util.rs +++ b/tests/util.rs @@ -1,4 +1,6 @@ -use std::{collections::HashMap, env, process::Command}; +use std::{env, process::Command}; + +use hashbrown::HashMap; /// Returns a QEMU runner target given an architecture. fn get_qemu_target(arch: &str) -> &str { |