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

Impl Runnable/RunnableMut for Box<dyn Fn/FnMut> #48

Merged
merged 1 commit into from
May 25, 2019

Conversation

tony-iqlusion
Copy link
Member

Rust 1.35 added support for Box<dyn Fn> and Box<dyn FnMut>.

We're officially now 1.35+, so add Runnable/RunnableMut impls for these respectively.

It's convenient to be able to create anonynous Runnables out of boxed closures.

Rust 1.35 added support for `Box<dyn Fn>` and `Box<dyn FnMut>`.

We're officially now 1.35+, so add `Runnable`/`RunnableMut` impls for
these respectively.

It's convenient to be able to create anonynous `Runnable`s out of boxed
closures.
@tony-iqlusion tony-iqlusion merged commit 9d5d853 into develop May 25, 2019
@tony-iqlusion tony-iqlusion deleted the impl-runnable-for-box-fn branch May 25, 2019 16:51
@tony-iqlusion tony-iqlusion mentioned this pull request Jul 2, 2019
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

1 participant