We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 41e236a commit 548b5d2Copy full SHA for 548b5d2
compiler/rustc_errors/src/lib.rs
@@ -348,7 +348,7 @@ impl CodeSuggestion {
348
hi_opt: Option<&Loc>,
349
) -> usize {
350
let mut line_count = 0;
351
- // Convert `CharPos` to `Usize`, as `CharPos` is character offset
+ // Convert `CharPos` to `usize`, as `CharPos` is character offset
352
// Extract low index and high index
353
let (lo, hi_opt) = (lo.col.to_usize(), hi_opt.map(|hi| hi.col.to_usize()));
354
if let Some(line) = line_opt {
0 commit comments