diff options
author | oxalica <[email protected]> | 2020-06-18 19:25:07 +0100 |
---|---|---|
committer | oxalica <[email protected]> | 2020-06-18 19:25:07 +0100 |
commit | f9ce7cd961482310547b656364dc40f8ccffd6fc (patch) | |
tree | 9c999c1bbc113a268091597f0c59da9e7989fd88 /crates | |
parent | bed0b794e54c22093ae5f822e9a6adca181112c2 (diff) |
Fix fmt
Diffstat (limited to 'crates')
-rw-r--r-- | crates/rust-analyzer/build.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/crates/rust-analyzer/build.rs b/crates/rust-analyzer/build.rs index 5f2162cba..5ae76ba30 100644 --- a/crates/rust-analyzer/build.rs +++ b/crates/rust-analyzer/build.rs | |||
@@ -5,7 +5,8 @@ use std::{env, path::PathBuf, process::Command}; | |||
5 | fn main() { | 5 | fn main() { |
6 | set_rerun(); | 6 | set_rerun(); |
7 | 7 | ||
8 | let rev = env::var("RUST_ANALYZER_REV").ok().or_else(rev).unwrap_or_else(|| "???????".to_string()); | 8 | let rev = |
9 | env::var("RUST_ANALYZER_REV").ok().or_else(rev).unwrap_or_else(|| "???????".to_string()); | ||
9 | println!("cargo:rustc-env=REV={}", rev) | 10 | println!("cargo:rustc-env=REV={}", rev) |
10 | } | 11 | } |
11 | 12 | ||