refactor(tvix/store/bin): remove unneeded clone

Change-Id: Ib94376db3a57853d980112919c2d6fcc0f566883
Reviewed-on: https://cl.tvl.fyi/c/depot/+/10407
Tested-by: BuildkiteCI
Reviewed-by: raitobezarius <tvl@lahfa.xyz>
Autosubmit: flokli <flokli@flokli.de>
This commit is contained in:
Florian Klink 2023-12-22 14:23:37 +02:00 committed by clbot
parent 9627ef15de
commit 39cddb95be

View file

@ -276,10 +276,8 @@ async fn main() -> Result<(), Box<dyn std::error::Error>> {
// Ask the PathInfoService for the NAR size and sha256
let root_node_copy = root_node.clone();
let path_info_service_clone = path_info_service.clone();
let (nar_size, nar_sha256) = path_info_service_clone
.calculate_nar(&root_node_copy)
.await?;
let (nar_size, nar_sha256) =
path_info_service.calculate_nar(&root_node_copy).await?;
let name = path
.file_name()