Skip to content

Commit 5f9996e

Browse files
committed
clippy
1 parent 3648671 commit 5f9996e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • compiler/noirc_frontend/src/elaborator

compiler/noirc_frontend/src/elaborator/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -628,7 +628,7 @@ impl<'context> Elaborator<'context> {
628628

629629
match path_resolver.resolve(self.def_maps, path.clone(), &mut None) {
630630
Ok(PathResolution { module_def_id: ModuleDefId::ModuleId(module_id), error }) => {
631-
if let Some(_) = error {
631+
if error.is_some() {
632632
None
633633
} else {
634634
Some(module_id)

0 commit comments

Comments
 (0)