summaryrefslogtreecommitdiffstats
path: root/build.rs
diff options
context:
space:
mode:
authorsharkdp <davidpeter@web.de>2020-04-24 16:09:56 +0200
committerDavid Peter <sharkdp@users.noreply.github.com>2020-04-24 16:11:05 +0200
commit8e187865560aaf5349f85c0e42babb08958883c2 (patch)
tree8a73af815dcbb006f5a3ea8e8df303d270c90dba /build.rs
parent81488adf8b4a6b528f76c1b18ebd1da134db2cc3 (diff)
Run 'cargo fmt'
Diffstat (limited to 'build.rs')
-rw-r--r--build.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/build.rs b/build.rs
index 4bf6173c..693826a1 100644
--- a/build.rs
+++ b/build.rs
@@ -19,7 +19,8 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
// Read environment variables.
lazy_static! {
static ref PROJECT_NAME: &'static str = option_env!("PROJECT_NAME").unwrap_or("bat");
- static ref EXECUTABLE_NAME: &'static str = option_env!("PROJECT_EXECUTABLE").unwrap_or(*PROJECT_NAME);
+ static ref EXECUTABLE_NAME: &'static str =
+ option_env!("PROJECT_EXECUTABLE").unwrap_or(*PROJECT_NAME);
}
/// Generates a file from a liquid template.