Skip to content

Commit

Permalink
fix(span): fix clippy warning (#7591)
Browse files Browse the repository at this point in the history
Fix clippy warning. Only triggers when running clippy in `--release` mode.
  • Loading branch information
overlookmotel committed Dec 3, 2024
1 parent 3dc46a8 commit b553d6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/oxc_span/src/source_type/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -486,7 +486,7 @@ impl SourceType {
#[cfg(debug_assertions)]
unreachable!();
#[cfg(not(debug_assertions))]
return Err(UnknownExtension(format!("Unknown extension: {}", extension).into()));
return Err(UnknownExtension(format!("Unknown extension: {extension}").into()));
}
};

Expand Down

0 comments on commit b553d6f

Please sign in to comment.