Skip to content

Commit

Permalink
style: with fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
tu6ge committed Sep 20, 2023
1 parent 0cc6edb commit 13e5818
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions src/register/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -219,15 +219,13 @@ where
where
Msg: Into<M>,
{
self.message = HashMap::from_iter(
list.map(|(key_str, v)| {
let msg_key = panic_on_err!(field_name::parse_message(key_str));
self.message = HashMap::from_iter(list.map(|(key_str, v)| {
let msg_key = panic_on_err!(field_name::parse_message(key_str));

panic_on_err!(self.exit_message(&msg_key));
panic_on_err!(self.exit_message(&msg_key));

(msg_key, v.into())
}),
);
(msg_key, v.into())
}));
self
}

Expand Down

0 comments on commit 13e5818

Please sign in to comment.