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 once(x).chain(once(y)) with [x, y] IntoIter #34

Closed
cargodog opened this issue Jan 26, 2021 · 1 comment
Closed

Replace once(x).chain(once(y)) with [x, y] IntoIter #34

cargodog opened this issue Jan 26, 2021 · 1 comment
Assignees
Labels
wontfix This will not be worked on

Comments

@cargodog
Copy link
Owner

Currently, the code has several instances of this, which can be replaced with the simpler IntoIter::new([x, y]) syntax. See:
rust-lang/rust#77514

@cargodog cargodog self-assigned this Jan 30, 2021
@cargodog cargodog added the wontfix This will not be worked on label Jan 30, 2021
@cargodog
Copy link
Owner Author

There aren't any cases where this would be helpful or simplify code. Won't fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

1 participant