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

Documentation: document panic in oneshot::Receiver::try_recv #3671

Closed
wants to merge 1 commit into from

Conversation

xd009642
Copy link
Contributor

@xd009642 xd009642 commented Apr 4, 2021

When initially consulting the docs I assumed the channel would report as closed after the value was sent and received partially due to not noticing any mention of panics. I had a look through the module and Receiver docs for oneshot and didn't find mention of the panic so updated the receiver docs accordingly.

When initially consulting the docs I assumed the channel would report as
closed after the value was sent and received partially due to not
noticing any mention of panics. I had a look through the module and
Receiver docs for oneshot and didn't find mention of the panic so
updated the receiver docs accordingly.
@Darksonn Darksonn added A-tokio Area: The main tokio crate M-sync Module: tokio/sync T-docs Topic: documentation labels Apr 4, 2021
@Darksonn
Copy link
Contributor

Darksonn commented Apr 4, 2021

Closing in favor of #3674

@Darksonn Darksonn closed this Apr 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-tokio Area: The main tokio crate M-sync Module: tokio/sync T-docs Topic: documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants