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

pull/3777/head
Evan Richter 2 years ago committed by GitHub
parent fae9203c3e
commit 01ee42bb14
No known key found for this signature in database
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);
}
}

Loading…
Cancel
Save