lowercase usize

Co-authored-by: Kivooeo <75776246+Kivooeo@users.noreply.github.com>
This commit is contained in:
Jacob Asper
2025-11-22 22:25:51 -05:00
committed by GitHub
parent 41e236a0df
commit 548b5d2406
+1 -1
View File
@@ -348,7 +348,7 @@ fn push_trailing(
hi_opt: Option<&Loc>,
) -> usize {
let mut line_count = 0;
// Convert `CharPos` to `Usize`, as `CharPos` is character offset
// Convert `CharPos` to `usize`, as `CharPos` is character offset
// Extract low index and high index
let (lo, hi_opt) = (lo.col.to_usize(), hi_opt.map(|hi| hi.col.to_usize()));
if let Some(line) = line_opt {