diff --git a/crates/compiler/src/compiler/run_compilation.rs b/crates/compiler/src/compiler/run_compilation.rs index 0fa96003..6babc0e5 100644 --- a/crates/compiler/src/compiler/run_compilation.rs +++ b/crates/compiler/src/compiler/run_compilation.rs @@ -34,7 +34,7 @@ pub(crate) fn compile(compiler: &Compiler) -> Result { // https://github.com/rust-lang/rfcs/issues/2428 let source = match file.source.strip_prefix("\u{feff}") { None => file.source.as_str(), - Some(sanitized_string) => sanitized_string + Some(sanitized_string) => sanitized_string, }; source.chars().map(|c| c as u32).collect() })