Fix review comment

This commit is contained in:
bjorn3 2024-11-27 11:57:29 +01:00
parent 159ba4ceab
commit dc65c6317a
No known key found for this signature in database

View File

@ -511,9 +511,9 @@ fn make_input(
Ok(Some(Input::Str { name, input }))
}
[ifile] => Ok(Some(Input::File(PathBuf::from(ifile)))),
_ => early_dcx.early_fatal(format!(
[ifile1, ifile2, ..] => early_dcx.early_fatal(format!(
"multiple input filenames provided (first two filenames are `{}` and `{}`)",
free_matches[0], free_matches[1],
ifile1, ifile2
)),
}
}