-
Notifications
You must be signed in to change notification settings - Fork 119
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 each_allocated_chunk function with iter_allocated_chunks function #30
Conversation
Note that this currently removes the function I can easily re-implement the old function on top of the iterator for backwards-compatiblity, if you prefer. If you want me to do this, I think we should consider marking as deprecated, or perhaps changed to use |
By using google and github search, I have not been able to find any references to |
I use it here, fwiw: https://github.com/fitzgen/dodrio/blob/22faf1eb60f9bcb16094e1b2f4575edfb203338e/src/change_list/emitter.rs#L43 |
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.
Looks great, thanks @TethysSvensson!
Can you also reimplement each_allocated_chunk
in terms of iter_allocated_chunks
with a #[deprecated(note = "deprecated in favor of iter_allocated_chunks")]
note?
Thanks!
Co-Authored-By: Nick Fitzgerald <[email protected]>
Co-Authored-By: Nick Fitzgerald <[email protected]>
Co-Authored-By: Nick Fitzgerald <[email protected]>
Co-Authored-By: Nick Fitzgerald <[email protected]>
Co-Authored-By: Nick Fitzgerald <[email protected]>
That also shows up on github search now, but didn't before. It still does not show up on google search. This makes me a lot less inclined to trust github search in the future.
Done. |
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.
Thanks so much!
FWIW, I think github will only show the first two hits in a file, so if there are multiple occurrences, they might be hidden. In the specific dodrio example, the first two occurrences are inside comments, so the actual call is hidden :-/ |
This implements the suggestion in #27.