From 0f7c70fd93db23ec866ae13aa2f146b7787afabf Mon Sep 17 00:00:00 2001 From: Laurenz Date: Sun, 4 Oct 2020 19:06:20 +0200 Subject: =?UTF-8?q?Separate=20state=20and=20constraints=20=F0=9F=A7=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/eval/scope.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'src/eval/scope.rs') diff --git a/src/eval/scope.rs b/src/eval/scope.rs index 8e6576d1..d4b24880 100644 --- a/src/eval/scope.rs +++ b/src/eval/scope.rs @@ -6,6 +6,7 @@ use std::fmt::{self, Debug, Formatter}; use super::value::FuncValue; /// A map from identifiers to functions. +#[derive(Clone, PartialEq)] pub struct Scope { functions: HashMap, } -- cgit v1.2.3