Skip to content

Commit

Permalink
Clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
timneutkens committed Feb 15, 2024
1 parent 9fb09ce commit 1d1d4c7
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions packages/next-swc/crates/next-core/src/next_server/context.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ use turbopack_binding::{
},
environment::{Environment, ExecutionEnvironment, NodeJsEnvironment, RuntimeVersions},
free_var_references,
resolve::{parse::Request, pattern::Pattern},
},
ecmascript::{references::esm::UrlRewriteBehavior, TreeShakingMode},
ecmascript_plugin::transform::directives::client::ClientDirectiveTransformer,
Expand Down Expand Up @@ -44,7 +43,7 @@ use crate::{
embed_js::next_js_fs,
mode::NextMode,
next_build::{get_external_next_compiled_package_mapping, get_postcss_package_mapping},
next_client::{RuntimeEntries, RuntimeEntry},
next_client::RuntimeEntries,
next_config::NextConfig,
next_import_map::{get_next_server_import_map, mdx_import_source_file},
next_server::resolve::ExternalPredicate,
Expand Down Expand Up @@ -721,10 +720,10 @@ pub fn get_build_module_options_context() -> Vc<ModuleOptionsContext> {

#[turbo_tasks::function]
pub fn get_server_runtime_entries(
ty: Value<ServerContextType>,
mode: NextMode,
_ty: Value<ServerContextType>,
_mode: NextMode,
) -> Vc<RuntimeEntries> {
let mut runtime_entries = vec![];
let runtime_entries = vec![];
Vc::cell(runtime_entries)
}

Expand Down

0 comments on commit 1d1d4c7

Please sign in to comment.