fixed tuple reversing type order when initializing

and try's error message now starts counting at Function #1 instead of #0.
This commit is contained in:
Mark
2023-10-24 20:04:14 +02:00
parent 5e20f92849
commit fd2a3382fc
2 changed files with 4 additions and 4 deletions

View File

@@ -75,7 +75,7 @@ impl Config {
for (i, err) in func_errors.into_iter().enumerate() {
if let Some(err) = err {
e = e
.msg(format!("Error for function #{i}:"))
.msg(format!("Error for function #{}:", i + 1))
.err(err);
}
}