From 5943769717f909adbc5d40fb7e49cba71629fa92 Mon Sep 17 00:00:00 2001 From: Ian Davis Date: Fri, 13 Sep 2024 15:29:00 -0700 Subject: [PATCH] Lint --- pyqir/src/module.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyqir/src/module.rs b/pyqir/src/module.rs index fcdfa2cc..504d5982 100644 --- a/pyqir/src/module.rs +++ b/pyqir/src/module.rs @@ -283,7 +283,7 @@ impl Module { // and we'll get a segfault if we drop it. forget(other); if result == 0 { - return None; + None } else { // in the future we need to return a proper error message // using `LLVMContextSetDiagnosticHandler`. This is a lot of work