File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
fil-proofs-param/tests/support Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -88,7 +88,7 @@ pub fn tmp_manifest(
88
88
opt_manifest : Option < BTreeMap < String , ParameterData > > ,
89
89
) -> Result < PathBuf , failure:: Error > {
90
90
let manifest_dir = tempdir ( ) ?;
91
- let mut pbuf = manifest_dir. into_path ( ) ;
91
+ let mut pbuf = manifest_dir. keep ( ) ;
92
92
pbuf. push ( "parameters.json" ) ;
93
93
94
94
let mut file = File :: create ( & pbuf) ?;
Original file line number Diff line number Diff line change @@ -303,7 +303,7 @@ pub fn create_replicas<Tree: 'static + MerkleTreeTrait>(
303
303
PrivateReplicaInfo :: new (
304
304
sealed_file. to_path_buf ( ) ,
305
305
seal_pre_commit_output. comm_r ,
306
- cache_dir. into_path ( ) ,
306
+ cache_dir. keep ( ) ,
307
307
)
308
308
. expect ( "failed to create PrivateReplicaInfo" )
309
309
} ) ;
You can’t perform that action at this time.
0 commit comments