From fcd58baec6c9bdc1959f83c9b0cbf6330b3e98f9 Mon Sep 17 00:00:00 2001 From: Michael Sippel Date: Sun, 4 Aug 2024 23:18:37 +0200 Subject: [PATCH] TypeID: add Copy trait --- src/dict.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dict.rs b/src/dict.rs index 83b63ee..93bb6ec 100644 --- a/src/dict.rs +++ b/src/dict.rs @@ -2,7 +2,7 @@ use crate::bimap::Bimap; //<<<<>>>><<>><><<>><<<*>>><<>><><<>><<<<>>>>\\ -#[derive(Eq, PartialEq, Hash, Clone, Debug)] +#[derive(Eq, PartialEq, Hash, Clone, Copy, Debug)] pub enum TypeID { Fun(u64), Var(u64)