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

Remove unreachable else #661

Merged
merged 1 commit into from Jan 28, 2024
Merged

Conversation

braddunbar
Copy link
Contributor

The value of kind can only be KIND_VEC or KIND_ARC (1 or 0, respectively). As a result, the removed else clause is unreachable.

I have some ideas about how to make this more obvious, but I'll send those separately.

The value of kind can only be KIND_VEC or KIND_ARC (1 or 0,
respectively). As a result, the removed else clause is unreachable.

I have some ideas about how to make this more obvious, but I'll send
those separately.
@maminrayej maminrayej merged commit e24587d into tokio-rs:master Jan 28, 2024
15 checks passed
@braddunbar braddunbar deleted the unreachable-else branch January 28, 2024 14:14
@braddunbar braddunbar mentioned this pull request Mar 22, 2024
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.

None yet

2 participants