From eeb8051b60125e4739239fe6655de4694af24f1b Mon Sep 17 00:00:00 2001 From: Tom French <15848336+TomAFrench@users.noreply.github.com> Date: Thu, 31 Aug 2023 15:24:32 +0100 Subject: [PATCH] chore: clippy fix (#2507) --- crates/wasm/src/compile.rs | 2 +- cspell.json | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/crates/wasm/src/compile.rs b/crates/wasm/src/compile.rs index 69a405d5e28..a4e7f93ca79 100644 --- a/crates/wasm/src/compile.rs +++ b/crates/wasm/src/compile.rs @@ -82,7 +82,7 @@ fn add_noir_lib(context: &mut Context, library_name: &str) { context .crate_graph .add_dep(crate_id, library_name.parse().unwrap(), library_crate_id) - .expect(&format!("ICE: Cyclic error triggered by {} library", library_name)); + .unwrap_or_else(|_| panic!("ICE: Cyclic error triggered by {} library", library_name)); } } diff --git a/cspell.json b/cspell.json index 9953b6f0cd0..d7a25b5378c 100644 --- a/cspell.json +++ b/cspell.json @@ -3,6 +3,7 @@ "words": [ // In code // + "aarch", "aeiou", "arraysort", "arithmetization",