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:
parent
9627ef15de
commit
39cddb95be
1 changed files with 2 additions and 4 deletions
|
@ -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()
|
||||
|
|
Loading…
Reference in a new issue