about summary refs log tree commit diff
path: root/tvix/store/src/main.rs
diff options
context:
space:
mode:
authorFlorian Klink <flokli@flokli.de>2023-01-02T11·13+0100
committerclbot <clbot@tvl.fyi>2023-01-03T12·06+0000
commitecd943ea6aaa1269d0c0fca140387158bc9ea551 (patch)
tree419af859ca5b5f7f45c52ebd2a54e3e0f7e74afc /tvix/store/src/main.rs
parent90c32eec7a382195e6d533c6e55a3d20c58cc3a5 (diff)
chore(tvix/store/main): address clippy r/5567
Change-Id: Ie400a7109d3aa6b66153c0ab25a38abf06984cbf
Reviewed-on: https://cl.tvl.fyi/c/depot/+/7722
Autosubmit: flokli <flokli@flokli.de>
Reviewed-by: tazjin <tazjin@tvl.su>
Tested-by: BuildkiteCI
Diffstat (limited to 'tvix/store/src/main.rs')
-rw-r--r--tvix/store/src/main.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tvix/store/src/main.rs b/tvix/store/src/main.rs
index d9261fc34d6e..0ba49e3bfd4c 100644
--- a/tvix/store/src/main.rs
+++ b/tvix/store/src/main.rs
@@ -34,7 +34,7 @@ async fn main() -> Result<(), Box<dyn std::error::Error>> {
     let cli = Cli::parse();
     let listen_address = cli
         .listen_address
-        .unwrap_or("[::]:8000".to_string())
+        .unwrap_or_else(|| "[::]:8000".to_string())
         .parse()
         .unwrap();