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 "single-use" callbacks FnOnce #51

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ids1024
Copy link

@ids1024 ids1024 commented Jun 23, 2022

This is more general than FnMut, which is useful in some cases.

#50

It's hard to be sure that this covers everything (and the consistency of types can't be checked by the compiler everywhere due to pointer casts...), but this should be an improvement.

This is more general than `FnMut`, which is useful in some cases.

jnqnfe#50
@jnqnfe jnqnfe force-pushed the master branch 7 times, most recently from 63a467b to d0e65dd Compare January 9, 2023 07:10
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.

1 participant