Added comment

This commit is contained in:
Eric Traut
2026-01-12 14:56:55 -08:00
parent 237e916ca6
commit 56f86f560a

View File

@@ -513,6 +513,8 @@ fn deserialize_config_toml_lenient(
mut root_value: TomlValue,
config_base_dir: Option<&Path>,
) -> std::io::Result<ConfigToml> {
// Config loading should tolerate invalid enum values in on-disk config (drop them), while
// interactive edits remain strict so bad values are rejected at write time.
loop {
let attempt = match config_base_dir {
Some(base_dir) => {