Skip to content

Don't use zip to compare iterators during pretty-print hack#76131

Merged
bors merged 1 commit intorust-lang:masterfrom
Aaron1011:fix/pretty-print-zip
Sep 22, 2020
Merged

Don't use zip to compare iterators during pretty-print hack#76131
bors merged 1 commit intorust-lang:masterfrom
Aaron1011:fix/pretty-print-zip

Conversation

@Aaron1011
Copy link
Copy Markdown
Contributor

If the right-hand iterator has exactly one more element than the
left-hand iterator, then both iterators will be fully consumed, but
the extra element will never be compared.

Split out from #76130

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

9 participants