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

Implement Testable for Fn* instead? #161

Closed
nagisa opened this issue Feb 26, 2017 · 1 comment
Closed

Implement Testable for Fn* instead? #161

nagisa opened this issue Feb 26, 2017 · 1 comment

Comments

@nagisa
Copy link

nagisa commented Feb 26, 2017

Currently Testable is implemented for function pointers, but there’s no reason (is there?) it couldn’t be implemented for Fn and FnMut (also abstracting over the fn pointer implementations).

@BurntSushi
Copy link
Owner

@nagisa I've tried and failed several times. This issue specifically is a dupe of #56, which is blocked on rust-lang/rust#25041. Judging by the labeling, it sounds like there are no bugs, so this may never happen based on the path I was following at least.

I welcome others to attack this problem.

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

No branches or pull requests

2 participants