-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Use an iterator for reader::tagged_docs. #25760
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
Conversation
r? @brson (rust_highfive has picked a reviewer for you, use r? to override) |
@@ -233,10 +220,16 @@ fn get_provided_source(d: rbml::Doc, cdata: Cmd) -> Option<ast::DefId> { | |||
}) | |||
} | |||
|
|||
fn each_reexport<F>(d: rbml::Doc, f: F) -> bool where | |||
fn each_reexport<F>(d: rbml::Doc, mut f: F) -> bool where |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Perhaps this could return a TaggedDocsIterator
instead of continuing to use a closure?
I do love me some iterator goodness, thanks @Ms2ger! |
⌛ Testing commit 817ca99 with merge eddab67... |
💔 Test failed - auto-linux-64-x-android-t |
|
@bors: r+ rollup |
📌 Commit 0886b56 has been approved by |
⌛ Testing commit 0886b56 with merge ba84047... |
💔 Test failed - auto-linux-64-x-android-t |
|
@bors: r- |
this caused #25870 to fail, i think |
@bors: r+ |
📌 Commit b700b37 has been approved by |
No description provided.