Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upClean up some iterators #12861
Clean up some iterators #12861
Conversation
highfive
commented
Aug 14, 2016
|
Heads up! This PR modifies the following files:
|
highfive
commented
Aug 14, 2016
|
According to @eddyb, |
|
It's supposed to (when the lifetimes are explicit) but I couldn't get anything to compile. Apparently the |
| // TODO: important is hardcoded to false because method does not implement it yet | ||
| let serialized_value = shorthand.serialize_shorthand_value_to_string(Map(list.iter()), false); | ||
| let serialized_value = shorthand.serialize_shorthand_value_to_string( | ||
| list.iter().map(Deref::deref as fn(_) -> _), false); |
This comment has been minimized.
This comment has been minimized.
notriddle
Aug 15, 2016
Contributor
This use of a function pointer instead of the function's own anonymous type is to work around th fact that the latter isn't clone, right?
This comment has been minimized.
This comment has been minimized.
|
@bors-servo r+ |
|
|
Clean up some iterators <!-- Reviewable:start --> This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/12861) <!-- Reviewable:end -->
|
|
highfive
commented
Aug 16, 2016
|
|
@bors-servo retry #12568 |
|
|
|
|
highfive
commented
Aug 16, 2016
|
|
@bors-servo retry #12568 |
Clean up some iterators <!-- Reviewable:start --> This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/12861) <!-- Reviewable:end -->
|
|
highfive
commented
Aug 16, 2016
|
|
@bors-servo retry #12568 |
Clean up some iterators <!-- Reviewable:start --> This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/12861) <!-- Reviewable:end -->
|
|
highfive
commented
Aug 18, 2016
|
|
Suddenly it doesn't look like an intermittent anymore, but how could my changes do that..? |
|
Change the expectation to PASS? |
|
@bors-servo r=Ms2ger The test was disabled. |
|
|
|
|
Ugh. @bors-servo retry |
|
|
Clean up some iterators <!-- Reviewable:start --> This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/12861) <!-- Reviewable:end -->
|
|
nox commentedAug 14, 2016
•
edited by larsbergstrom
This change is