[refactor](trx-frontend-rigctl): adapt to Cow-returning mode_to_string

Update rig_mode_to_str to call .into_owned() on the new Cow return.

https://claude.ai/code/session_01XzurkeuUmamBuhQwxVy7T4
Signed-off-by: Claude <noreply@anthropic.com>
This commit is contained in:
Claude
2026-03-25 22:42:38 +00:00
committed by Stan Grams
parent 019f12e3fc
commit 99d95c8eb6
@@ -376,7 +376,7 @@ fn current_snapshot(state_rx: &watch::Receiver<RigState>) -> Option<RigSnapshot>
}
fn rig_mode_to_str(mode: &RigMode) -> String {
mode_to_string(mode)
mode_to_string(mode).into_owned()
}
fn dump_state_lines(snapshot: &RigSnapshot) -> Vec<String> {