diff options
author | Vincent Ambo <mail@tazj.in> | 2023-03-11T21·49+0300 |
---|---|---|
committer | tazjin <tazjin@tvl.su> | 2023-03-13T20·30+0000 |
commit | c37e41d58305bcc6f20a92eb35aaa9dea3a977f0 (patch) | |
tree | 0cf0dd61120956a27993e756650e733f10c4bae8 /tvix/cli | |
parent | e48a17a6b3a81d5fd6495b1168bcd07232c2dfd0 (diff) |
chore(tvix/cli): silence useless warning r/5986
Change-Id: I18f567d5dcbbeb934428bf9111eb5fae5fef0342 Reviewed-on: https://cl.tvl.fyi/c/depot/+/8261 Reviewed-by: raitobezarius <tvl@lahfa.xyz> Tested-by: BuildkiteCI Reviewed-by: flokli <flokli@flokli.de>
Diffstat (limited to 'tvix/cli')
-rw-r--r-- | tvix/cli/src/known_paths.rs | 1 |
1 files changed, 1 insertions, 0 deletions
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<D: ToString>(&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()); |