chiark / gitweb /
Use todo!() in place of panic!("FIXME").
authorSimon Tatham <anakin@pobox.com>
Mon, 1 Jan 2024 09:14:45 +0000 (09:14 +0000)
committerSimon Tatham <anakin@pobox.com>
Mon, 1 Jan 2024 09:14:45 +0000 (09:14 +0000)
I only just found out about that, and I should start getting into the
habit.

src/tui.rs

index 1157a0ec7beade3a3df590eaa6cef5448d103601..b69e5ba61a95b4896365f63f38ac49ab8b14fc35 100644 (file)
@@ -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")