summaryrefslogtreecommitdiffstats
path: root/src/structures
diff options
context:
space:
mode:
authorDenis Isidoro <denisidoro@users.noreply.github.com>2020-08-14 13:53:23 -0300
committerGitHub <noreply@github.com>2020-08-14 13:53:23 -0300
commit657992b1737c94e8d95352673679b827c4702691 (patch)
treeef9b769f0d68424f293f02adaba1748173720c1c /src/structures
parente11c48ec03e6c0528e92988ed6813652209dc294 (diff)
Allow implicit variable dependencies (#379)v2.8.0
* Allow implicit variable dependencies * Aug-14 12h01: core.rs, Cargo.toml, Cargo.lock * Aug-14 12h04: cases.cheat * Aug-14 12h08: cases.cheat
Diffstat (limited to 'src/structures')
-rw-r--r--src/structures/cheat.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/structures/cheat.rs b/src/structures/cheat.rs
index 778a337..2bcdf93 100644
--- a/src/structures/cheat.rs
+++ b/src/structures/cheat.rs
@@ -8,6 +8,7 @@ fn gen_key(tags: &str, variable: &str) -> u64 {
format!("{};{}", tags, variable).hash_line()
}
+#[derive(Clone)]
pub struct VariableMap(HashMap<u64, Suggestion>);
impl VariableMap {