diff options
author | bors-servo <lbergstrom+bors@mozilla.com> | 2017-02-13 11:45:50 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-02-13 11:45:50 -0800 |
commit | 28d62f0f031a389463bf2afd1cfbd53da96a5068 (patch) | |
tree | c3726ba4156974de723b729acda73e612872f4eb /components/script/script_thread.rs | |
parent | 1b399cd27ff902d70c4ea0893c7dd31a5a32f0e5 (diff) | |
parent | abcd8133deffe54f8345521cfff0225e0a925b10 (diff) | |
download | servo-28d62f0f031a389463bf2afd1cfbd53da96a5068.tar.gz servo-28d62f0f031a389463bf2afd1cfbd53da96a5068.zip |
Auto merge of #15470 - karan1276:karan_rmv_unwrap, r=Wafflespeanut
remove unwrap(), not needed
Fixes #15387
<!-- Please describe your changes on the following line: -->
---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [ ] `./mach build -d` does not report any errors
- [ ] `./mach test-tidy` does not report any errors
- [ ] These changes fix #__ (github issue number if applicable).
<!-- Either: -->
- [ ] There are tests for these changes OR
- [ ] These changes do not require tests because _____
<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->
<!-- 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/15470)
<!-- Reviewable:end -->
Diffstat (limited to 'components/script/script_thread.rs')
-rw-r--r-- | components/script/script_thread.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/script_thread.rs b/components/script/script_thread.rs index c50011bf19c..fa83eaed631 100644 --- a/components/script/script_thread.rs +++ b/components/script/script_thread.rs @@ -1511,7 +1511,7 @@ impl ScriptThread { let (response_chan, response_port) = channel(); chan.send(message::Msg::PrepareToExit(response_chan)).ok(); debug!("shutting down layout for page {}", id); - response_port.recv().unwrap(); + let _ = response_port.recv(); chan.send(message::Msg::ExitNow).ok(); self.constellation_chan.send(ConstellationMsg::PipelineExited(id)).ok(); |