From 141d91ddda7454dbc6ee953b6f73032f3611dd4e Mon Sep 17 00:00:00 2001 From: Amit Upadhyay Date: Tue, 26 Nov 2024 11:13:57 +0530 Subject: [PATCH] minor clippy --- fastn-runtime/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fastn-runtime/src/lib.rs b/fastn-runtime/src/lib.rs index 7ad338e4b..4a2468a0f 100644 --- a/fastn-runtime/src/lib.rs +++ b/fastn-runtime/src/lib.rs @@ -376,7 +376,7 @@ pub fn get_all_asts( } else if let fastn_resolved::Definition::Function(f) = definition { document_asts.push(f.to_ast(doc)); } else if let fastn_resolved::Definition::Export { from, to, .. } = definition { - if doc.get_opt_record(&from).is_some() { + if doc.get_opt_record(from).is_some() { continue; } export_asts.push(fastn_js::Ast::Export {