diff --git a/noir_stdlib/src/collections/umap.nr b/noir_stdlib/src/collections/umap.nr index fb15d532bc..bcb9759b4d 100644 --- a/noir_stdlib/src/collections/umap.nr +++ b/noir_stdlib/src/collections/umap.nr @@ -114,8 +114,7 @@ impl UHashMap { { // docs:end:contains_key /// Safety: unconstrained context - unsafe { self.get(key) } - .is_some() + unsafe { self.get(key) }.is_some() } // Returns true if the map contains no elements.