From 75913af845cfc01d9fe6467a684a5729b8fb52d5 Mon Sep 17 00:00:00 2001 From: Sandipsinh Rathod Date: Thu, 12 Sep 2024 18:26:04 -0400 Subject: [PATCH] reduce clones --- projects/ssddOnTop/src/jit/model.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/ssddOnTop/src/jit/model.rs b/projects/ssddOnTop/src/jit/model.rs index 924d0a2..df68c88 100644 --- a/projects/ssddOnTop/src/jit/model.rs +++ b/projects/ssddOnTop/src/jit/model.rs @@ -52,7 +52,7 @@ impl<'a> Fields1<'a> { value = Some(val); } } - if let Some(val) = value.clone(){ + if let Some(val) = value{ match (val.as_array(), val.as_object()) { (_, Some(obj)) => { // let mut ans = Map::new();