1
0
mirror of https://github.com/sharkdp/bat.git synced 2025-10-30 06:33:59 +00:00

Run 'cargo fmt'

This commit is contained in:
sharkdp
2020-04-24 16:09:56 +02:00
committed by David Peter
parent 81488adf8b
commit 8e18786556
5 changed files with 11 additions and 7 deletions

View File

@@ -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.