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

Convert delegate doctest to unit tests #935

Merged
merged 1 commit into from
May 12, 2022
Merged

Conversation

cuviper
Copy link
Member

@cuviper cuviper commented May 12, 2022

The documented example wasn't functional, and this broke on nightly since rust-lang/rust#96630.

We can't actually doctest a nonexported macro, but a unit test will do.

@cuviper
Copy link
Member Author

cuviper commented May 12, 2022

bors r+

@bors bors bot merged commit a866566 into rayon-rs:master May 12, 2022
@cuviper cuviper deleted the test-delegate branch February 25, 2023 17:58
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