aboutsummaryrefslogtreecommitdiff
path: root/helix-loader/build.rs
diff options
context:
space:
mode:
Diffstat (limited to 'helix-loader/build.rs')
-rw-r--r--helix-loader/build.rs8
1 files changed, 6 insertions, 2 deletions
diff --git a/helix-loader/build.rs b/helix-loader/build.rs
index 63548a0c..74ba2a2b 100644
--- a/helix-loader/build.rs
+++ b/helix-loader/build.rs
@@ -40,7 +40,9 @@ fn main() {
.ok()
.filter(|output| output.status.success())
.and_then(|x| String::from_utf8(x.stdout).ok())
- else{ return; };
+ else {
+ return;
+ };
// If heads starts pointing at something else (different branch)
// we need to return
let head = Path::new(&git_dir).join("HEAD");
@@ -55,7 +57,9 @@ fn main() {
.ok()
.filter(|output| output.status.success())
.and_then(|x| String::from_utf8(x.stdout).ok())
- else{ return; };
+ else {
+ return;
+ };
let head_ref = Path::new(&git_dir).join(head_ref);
if head_ref.exists() {
println!("cargo:rerun-if-changed={}", head_ref.display());