aboutsummaryrefslogtreecommitdiffstats
path: root/components/compositing/build.rs
diff options
context:
space:
mode:
authorPyfisch <pyfisch@gmail.com>2018-11-06 13:01:35 +0100
committerPyfisch <pyfisch@gmail.com>2018-11-06 22:30:31 +0100
commitcb07debcb6f3d3561177ce536c320986720791b7 (patch)
treeccac4d5a48b3112230f3fc2e873753dd7263e9fb /components/compositing/build.rs
parentbf47f90da667e95eaffc8fee36ca8a88e72e276c (diff)
downloadservo-cb07debcb6f3d3561177ce536c320986720791b7.tar.gz
servo-cb07debcb6f3d3561177ce536c320986720791b7.zip
Format remaining files
Diffstat (limited to 'components/compositing/build.rs')
-rw-r--r--components/compositing/build.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/components/compositing/build.rs b/components/compositing/build.rs
index 8a13f9632d7..54532276222 100644
--- a/components/compositing/build.rs
+++ b/components/compositing/build.rs
@@ -36,7 +36,8 @@ fn main() {
.find(|pkg| {
pkg.get("name").and_then(|name| name.as_str()).unwrap_or("") ==
"webrender"
- }).and_then(|pkg| pkg.get("source").and_then(|source| source.as_str()))
+ })
+ .and_then(|pkg| pkg.get("source").and_then(|source| source.as_str()))
.unwrap_or("unknown");
let parsed: Vec<&str> = source.split("#").collect();