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

tree-wide: Convert to let-else syntax #650

Merged
merged 1 commit into from
Jun 28, 2024
Merged

Conversation

cgwalters
Copy link
Collaborator

Convert to let else where possible. I've been coding Rust long before it was stable, and my muscle memory has the expanded form.

But the short form is nicer.

Convert to [let else](https://doc.rust-lang.org/rust-by-example/flow_control/let_else.html)
where possible. I've been coding Rust long before it was stable,
and my muscle memory has the expanded form.

But the short form is nicer.

Signed-off-by: Colin Walters <walters@verbum.org>
@github-actions github-actions bot added the area/install Issues related to `bootc install` label Jun 28, 2024
Copy link
Member

@jmarrero jmarrero left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@cgwalters cgwalters merged commit 0cf5b9e into containers:main Jun 28, 2024
14 of 19 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/install Issues related to `bootc install`
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants