Auto merge of #10902 - asajeffrey:remove-explicit-panic-from-compositor, r=aneeshusa

Remove panic! from the compositor

Fixes #10864, and adds a check to `/etc/ci/check_no_unwrap.sh`.

r? @aneeshusa

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10902)
<!-- Reviewable:end -->
This commit is contained in:
bors-servo 2016-04-29 17:25:17 -07:00
commit f75fa5283e
3 changed files with 14 additions and 7 deletions

View file

@ -12,4 +12,4 @@ FILES=("components/compositing/compositor.rs"
"components/compositing/pipeline.rs"
"components/compositing/constellation.rs")
! grep -n "unwrap(" "${FILES[@]}"
! grep -n "unwrap(\|panic!(" "${FILES[@]}"