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

Replace into with Some in difficulty::arbitrary #1234

Merged
merged 2 commits into from
Oct 30, 2020
Merged

Conversation

teor2345
Copy link
Contributor

Motivation

Using Some(_) rather than _.into() is more explicit.

Solution

Replace _.into() with Some(_) in difficulty::arbitrary.

Related Issues

This is a leftover style fix from PR #1196.

@teor2345 teor2345 added A-rust Area: Updates to Rust code C-cleanup Category: This is a cleanup labels Oct 30, 2020
@teor2345 teor2345 requested a review from yaahc October 30, 2020 01:50
@teor2345 teor2345 self-assigned this Oct 30, 2020
@hdevalence hdevalence merged commit 01aeaae into main Oct 30, 2020
@hdevalence hdevalence deleted the some-not-into branch October 30, 2020 21:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-rust Area: Updates to Rust code C-cleanup Category: This is a cleanup
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants