Skip to content

Drop the redundant else after the accept loop - #40

Merged
Choochmeque merged 1 commit into
mainfrom
fix/clippy-redundant-else
Oct 3, 2026
Merged

Choochmeque merged 1 commit into
mainfrom
fix/clippy-redundant-else

Conversation

@Choochmeque

Copy link
Copy Markdown
Owner

Rust 1.99 clippy (pedantic redundant_else) rejects the else after a branch that never returns: the accept loop runs forever, so the bind-failure message can simply follow the if. No behaviour change.

Rust 1.99 clippy (pedantic redundant_else) rejects the else branch
because the accept loop never returns. Print the bind failure after
the if instead; behaviour is unchanged.
@Choochmeque
Choochmeque merged commit 1e7af4b into main Oct 3, 2026
6 checks passed
@Choochmeque
Choochmeque deleted the fix/clippy-redundant-else branch October 3, 2026 21:43
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.

1 participant