Skip to content

Commit f32d916

Browse files
committed
fix: update ui.rs Config::load call site for new tuple return type
Config::load now returns Result<(Self, Option<String>)> — the Ok arm in load_form's match was still destructuring as Ok(c). Updated to Ok((c, _)) to discard the migration warning (the UI has no logging path for it at load time).
1 parent b598368 commit f32d916

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/bin/ui.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -316,7 +316,7 @@ fn load_form() -> (FormState, Option<String>) {
316316
let (existing, load_err): (Option<Config>, Option<String>) = if path.exists() {
317317
tracing::info!("config: attempting load from {}", path.display());
318318
match Config::load(&path) {
319-
Ok(c) => {
319+
Ok((c, _)) => {
320320
tracing::info!("config: loaded OK from {}", path.display());
321321
(Some(c), None)
322322
}

0 commit comments

Comments
 (0)