chore(tvix/cli): silence useless warning

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>
This commit is contained in:
Vincent Ambo 2023-03-12 00:49:09 +03:00 committed by tazjin
parent e48a17a6b3
commit c37e41d583

View file

@ -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());