Skip to content

Commit

Permalink
Remove erroneous attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
lpil committed Mar 4, 2025
1 parent a74c572 commit 29f7bfb
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions compiler-core/src/javascript.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ use num_bigint::BigInt;
use num_traits::ToPrimitive;

use crate::analyse::TargetSupport;
use crate::build::Target;
use crate::build::package_compiler::StdlibPackage;
use crate::build::Target;
use crate::codegen::TypeScriptDeclarations;
use crate::type_::PRELUDE_MODULE_NAME;
use crate::{
Expand All @@ -21,7 +21,7 @@ use crate::{
pretty::*,
};
use camino::Utf8Path;
use ecow::{EcoString, eco_format};
use ecow::{eco_format, EcoString};
use expression::Context;
use itertools::Itertools;

Expand Down Expand Up @@ -624,7 +624,6 @@ pub struct ModuleConfig<'a> {
pub project_root: &'a Utf8Path,
}

#[allow(clippy::too_many_arguments)]
pub fn module(config: ModuleConfig<'_>) -> Result<String, crate::Error> {
let path = config.path.to_path_buf();
let src = config.src.clone();
Expand Down

0 comments on commit 29f7bfb

Please sign in to comment.