mirror of
https://github.com/servo/servo.git
synced 2025-08-07 06:25:32 +01:00
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:
commit
f75fa5283e
3 changed files with 14 additions and 7 deletions
|
@ -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[@]}"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue