From 336543f3312e70814f19791113c1a2de54bd3d31 Mon Sep 17 00:00:00 2001 From: orkunkilic Date: Fri, 2 Feb 2024 13:16:54 +0300 Subject: [PATCH] lint --- src/circuit/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/circuit/mod.rs b/src/circuit/mod.rs index d53877f..b25e551 100644 --- a/src/circuit/mod.rs +++ b/src/circuit/mod.rs @@ -215,7 +215,7 @@ mod tests { let b2 = number_to_bool_array(a2, 64); let o = circuit.evaluate(vec![b1, b2]); - let output = bool_array_to_number(o.get(0).unwrap().to_vec()); + let output = bool_array_to_number(o.first().unwrap().to_vec()); assert_eq!(output, a1 + a2); } }