-
Notifications
You must be signed in to change notification settings - Fork 84
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
Add a try_remove method #89
Conversation
That is one nice looking git diff! |
See also rust-lang/rust#77480 |
Disposition to merge? |
Sorry for the late review! Personally, for slab, I tend to prefer to return |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @aym-v!
Published in v0.4.4. |
This PR adds a
try_remove
method that returns an Option on remove operations. It is necessary to add a tokio_util::time::DelayQueue::try_remove method.