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

Make the panic message for a non-inserted listener clearer #125

Merged
merged 1 commit into from
Mar 28, 2024

Conversation

notgull
Copy link
Member

@notgull notgull commented Mar 26, 2024

This commit makes the panic message for a listener that's not inserted into the linked list much clearer. The goal is to convey to the user that they may be polling the listener after it has completed.

This commit also fixes some new Clippy lints.

cc #124

@notgull notgull requested a review from zeenix March 26, 2024 04:14
Copy link
Member

@zeenix zeenix left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just some nitpicks. :)

src/lib.rs Outdated Show resolved Hide resolved
src/lib.rs Outdated Show resolved Hide resolved
This commit makes the panic message for a listener that's not inserted
into the linked list much clearer. The goal is to convey to the user
that they may be `poll`ing the listener after it has completed.

This commit also fixes some new Clippy lints.

cc #124

Signed-off-by: John Nunley <dev@notgull.net>
@notgull notgull merged commit 58dbfc8 into master Mar 28, 2024
9 checks passed
@notgull notgull deleted the notgull/panic-msg branch March 28, 2024 15:37
@notgull notgull mentioned this pull request Apr 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants