Skip to content

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
@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.

2 participants