Skip to content

Commit

Permalink
clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
dsherret committed Apr 11, 2024
1 parent 5f02f86 commit 0d6d923
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions rs-lib/src/emit.rs
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,6 @@ pub struct BundleEmit {
struct BundleLoader<'a> {
cm: &'a SourceMap,
transpile_options: &'a TranspileOptions,
emit_options: &'a EmitOptions,
graph: &'a deno_graph::ModuleGraph,
}

Expand Down Expand Up @@ -100,7 +99,7 @@ impl swc::bundler::Load for BundleLoader<'_> {
source.as_ref(),
media_type,
self.transpile_options,
&self.cm,
self.cm,
)?;
Ok(swc::bundler::ModuleData {
fm,
Expand Down Expand Up @@ -166,7 +165,6 @@ pub fn bundle_graph(
let loader = BundleLoader {
graph,
transpile_options: &options.transpile_options,
emit_options: &options.emit_options,
cm: &cm,
};
let resolver = BundleResolver(graph);
Expand Down Expand Up @@ -322,7 +320,7 @@ fn transpile_module(
let top_level_mark = Mark::fresh(Mark::root());
let program = deno_ast::fold_program(
swc::ast::Program::Module(module),
&options,
options,
cm,
&comments,
top_level_mark,
Expand Down

0 comments on commit 0d6d923

Please sign in to comment.