From c37e41d58305bcc6f20a92eb35aaa9dea3a977f0 Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Sun, 12 Mar 2023 00:49:09 +0300 Subject: chore(tvix/cli): silence useless warning Change-Id: I18f567d5dcbbeb934428bf9111eb5fae5fef0342 Reviewed-on: https://cl.tvl.fyi/c/depot/+/8261 Reviewed-by: raitobezarius Tested-by: BuildkiteCI Reviewed-by: flokli --- tvix/cli/src/known_paths.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'tvix/cli/src') diff --git a/tvix/cli/src/known_paths.rs b/tvix/cli/src/known_paths.rs index fe6d7f118163..f16fad902654 100644 --- a/tvix/cli/src/known_paths.rs +++ b/tvix/cli/src/known_paths.rs @@ -164,6 +164,7 @@ impl KnownPaths { } pub fn add_replacement_string(&mut self, drv: D, replacement_str: &str) { + #[allow(unused_variables)] // assertions on this only compiled in debug builds let old = self .replacements .insert(drv.to_string(), replacement_str.to_owned()); -- cgit 1.4.1