From 6016a04a76e814fa2a1462935883bace43d8ad32 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Eriksson?= Date: Thu, 14 Nov 2024 13:38:20 +0100 Subject: [PATCH] Fix lints --- tsparser/src/parser/types/object.rs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/tsparser/src/parser/types/object.rs b/tsparser/src/parser/types/object.rs index f479fd50a5..05d7ac6b7c 100644 --- a/tsparser/src/parser/types/object.rs +++ b/tsparser/src/parser/types/object.rs @@ -243,9 +243,8 @@ impl NSData { } Reexport::All { import_path } => { - if let Some(module) = ctx.resolve_module_import(&curr_module, import_path) { - if let Some(export) = - module.data.get_named_export(ctx, &curr_module, needle) + if let Some(module) = ctx.resolve_module_import(curr_module, import_path) { + if let Some(export) = module.data.get_named_export(ctx, curr_module, needle) { return Some(export); }