-
Notifications
You must be signed in to change notification settings - Fork 50
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
runtime: Aesthetic enhancement using ok_or when decoding mb input
Instead of having the bulk of the mailbox execution code indented below a if let Some(...) else Err(CaliptraError::...) statement use .ok_or(CaliptraError:...)? to reduce indentation. Signed-off-by: Arthur Heymans <[email protected]>
- Loading branch information
1 parent
51ff0a8
commit 974f7ef
Showing
4 changed files
with
255 additions
and
267 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.