Repository navigation
Move code to exit servo after writing a screenshot out of composite_specific_target. - #7875
Conversation
|
@glennw does something like this seem sensible? I didn't fully test it yet… |
There was a problem hiding this comment.
It unwraps a level of Option i.e. Some(Some(img)) becomes Some(img)
There was a problem hiding this comment.
But I guess I'm looking for unwrap_or. The Result and Option APIs are huge :(
|
@jgraham It looks reasonable to me - did you want to do any more testing / changes on it, or is it ready? |
…pecific_target. The structure of this function was confusing, so move some parts out into the caller where they seem like a more natural fit and add documentation of the functions
923ddf9 to
64b74f5
Compare
|
I think it's ready for review. |
|
@bors-servo r+ |
|
📌 Commit 64b74f5 has been approved by |
Move code to exit servo after writing a screenshot out of composite_specific_target. The structure of this function was confusing, so move some parts out into the caller where they seem like a more natural fit and add documentation of the functions <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7875) <!-- Reviewable:end -->
|
💔 Test failed - mac-dev-ref-unit |
|
⚡ Previous build results for android, gonk, linux-dev, linux-rel, mac-rel-css, mac-rel-wpt are reusable. Rebuilding only mac-dev-ref-unit... |
|
💔 Test failed - mac-dev-ref-unit |
|
⚡ Previous build results for android, gonk, linux-dev, linux-rel, mac-rel-css, mac-rel-wpt are reusable. Rebuilding only mac-dev-ref-unit... |
|
💔 Test failed - mac-dev-ref-unit |
|
⚡ Previous build results for android, gonk, linux-dev, linux-rel, mac-rel-css, mac-rel-wpt are reusable. Rebuilding only mac-dev-ref-unit... |
|
💔 Test failed - mac-dev-ref-unit |
|
Well, it's the same test that fails each time… |
|
@bors-servo: retry
|
|
Ah, the other kind of OK |
Move code to exit servo after writing a screenshot out of composite_specific_target. The structure of this function was confusing, so move some parts out into the caller where they seem like a more natural fit and add documentation of the functions <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7875) <!-- Reviewable:end -->
|
☀️ Test successful - android, gonk, linux-dev, linux-rel, mac-dev-ref-unit, mac-rel-css, mac-rel-wpt |
The structure of this function was confusing, so move some parts out into the
caller where they seem like a more natural fit and add documentation of the
functions