File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -429,8 +429,7 @@ impl MigratableKVStore for FilesystemStore {
429
429
let mut keys = Vec :: new ( ) ;
430
430
431
431
' primary_loop: for primary_entry in fs:: read_dir ( prefixed_dest) ? {
432
- let primary_entry = primary_entry?;
433
- let primary_path = primary_entry. path ( ) ;
432
+ let primary_path = primary_entry?. path ( ) ;
434
433
435
434
if dir_entry_is_key ( & primary_path) ? {
436
435
let primary_namespace = String :: new ( ) ;
@@ -442,8 +441,7 @@ impl MigratableKVStore for FilesystemStore {
442
441
443
442
// The primary_entry is actually also a directory.
444
443
' secondary_loop: for secondary_entry in fs:: read_dir ( & primary_path) ? {
445
- let secondary_entry = secondary_entry?;
446
- let secondary_path = secondary_entry. path ( ) ;
444
+ let secondary_path = secondary_entry?. path ( ) ;
447
445
448
446
if dir_entry_is_key ( & secondary_path) ? {
449
447
let primary_namespace = get_key_from_dir_entry ( & primary_path, prefixed_dest) ?;
You can’t perform that action at this time.
0 commit comments