1
0
mirror of https://github.com/helix-editor/helix synced 2024-11-10 10:34:45 +01:00

ordinals instead of indexes when listing grammar fetch errors (#3773)

This commit is contained in:
Evan Richter 2022-09-10 00:14:03 -05:00 committed by GitHub
parent fae9203c3e
commit 01ee42bb14
Signed by: GitHub
GPG Key ID: 4AEE18F83AFDEB23

@ -139,7 +139,7 @@ pub fn fetch_grammars() -> Result<()> {
let len = errors.len();
println!("{} grammars failed to fetch", len);
for (i, error) in errors.into_iter().enumerate() {
println!("\tFailure {}/{}: {}", i, len, error);
println!("\tFailure {}/{}: {}", i + 1, len, error);
}
}