From 035578f410a3e46c692edbbfd9b3d9dccb97b385 Mon Sep 17 00:00:00 2001 From: Simon Tatham Date: Mon, 1 Jan 2024 09:14:45 +0000 Subject: [PATCH] Use todo!() in place of panic!("FIXME"). I only just found out about that, and I should start getting into the habit. --- src/tui.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tui.rs b/src/tui.rs index 1157a0e..b69e5ba 100644 --- a/src/tui.rs +++ b/src/tui.rs @@ -441,7 +441,7 @@ fn new_activity_state(activity: Activity, client: &mut Client) -> ego_log(client), Activity::Overlay(OverlayActivity::GetUserToExamine) => Ok(get_user_to_examine()), - _ => panic!("FIXME"), + _ => todo!(), }; result.expect("FIXME: need to implement the Error Log here") -- 2.30.2