Skip to content

Commit d67533e

Browse files
fix: cargo clippy
1 parent a7d3bfa commit d67533e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

crates/biome_js_runtime/src/module_loader.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ impl ModuleLoader for JsModuleLoader {
7272
self.modules.borrow_mut().insert(path, module.clone());
7373
}
7474

75-
return module;
75+
module
7676
}
7777
Err(err) => Err(JsNativeError::error().with_message(err.to_string()).into()),
7878
}

crates/biome_js_runtime/src/plugin_api.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ use std::rc::Rc;
33

44
use boa_engine::module::SyntheticModuleInitializer;
55
use boa_engine::object::FunctionObjectBuilder;
6-
use boa_engine::{Context, JsNativeError, JsString, JsValue, Module, NativeFunction, js_string};
6+
use boa_engine::{Context, JsNativeError, JsValue, Module, NativeFunction, js_string};
77

88
use biome_analyze::RuleDiagnostic;
99
use biome_diagnostics::{Severity, category};

0 commit comments

Comments
 (0)