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

Panic if Channel::channel() returns an invalid value. #439

Merged
merged 1 commit into from
Apr 10, 2024
Merged

Conversation

qwandor
Copy link
Member

@qwandor qwandor commented Apr 9, 2024

Channel isn't a sealed trait, so we can't assume that the implementation is correct. It's better to panic than have undefined behaviour.

Channel isn't a sealed trait, so we can't assume that the implementation
is correct. It's better to panic than have undefined behaviour.
@qwandor qwandor merged commit 9e0aa2d into master Apr 10, 2024
5 checks passed
@qwandor qwandor deleted the soundness branch April 10, 2024 12:14
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