Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

runtime: Aesthetic enhancement using ok_or when decoding mb input #1634

Merged
merged 1 commit into from
Aug 12, 2024

Conversation

ArthurHeymans
Copy link
Contributor

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.

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]>
@jhand2 jhand2 enabled auto-merge (rebase) August 12, 2024 19:40
@jhand2 jhand2 merged commit 974f7ef into chipsalliance:main Aug 12, 2024
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants