style: 自动格式化修正

This commit is contained in:
2026-06-05 01:29:24 +08:00
parent fd7d3b1f5e
commit faff18a8fc
3 changed files with 18 additions and 9 deletions
+1 -1
View File
@@ -19,7 +19,7 @@ impl From<oxc_diagnostics::OxcDiagnostic> for OxideError {
let span = diag
.labels
.clone()
.and_then(|labels| labels.first().map(|l| (l.offset() as usize, (l.offset() + l.len()) as usize)))
.and_then(|labels| labels.first().map(|l| (l.offset(), l.offset() + l.len())))
.unwrap_or((0, 0));
OxideError {