chiark
/
gitweb
/
~ian
/
mastodonochrome.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eca1222
)
Use todo!() in place of panic!("FIXME").
author
Simon Tatham
<anakin@pobox.com>
Mon, 1 Jan 2024 09:14:45 +0000
(09:14 +0000)
committer
Simon 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
patch
|
blob
|
history
diff --git
a/src/tui.rs
b/src/tui.rs
index 1157a0ec7beade3a3df590eaa6cef5448d103601..b69e5ba61a95b4896365f63f38ac49ab8b14fc35 100644
(file)
--- 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")