File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -433,8 +433,8 @@ impl MigratableKVStore for FilesystemStore {
433
433
let primary_path = primary_entry. path ( ) ;
434
434
435
435
if dir_entry_is_key ( & primary_path) ? {
436
- let primary_namespace = "" . to_string ( ) ;
437
- let secondary_namespace = "" . to_string ( ) ;
436
+ let primary_namespace = String :: new ( ) ;
437
+ let secondary_namespace = String :: new ( ) ;
438
438
let key = get_key_from_dir_entry ( & primary_path, prefixed_dest) ?;
439
439
keys. push ( ( primary_namespace, secondary_namespace, key) ) ;
440
440
continue ' primary_loop;
@@ -447,7 +447,7 @@ impl MigratableKVStore for FilesystemStore {
447
447
448
448
if dir_entry_is_key ( & secondary_path) ? {
449
449
let primary_namespace = get_key_from_dir_entry ( & primary_path, prefixed_dest) ?;
450
- let secondary_namespace = "" . to_string ( ) ;
450
+ let secondary_namespace = String :: new ( ) ;
451
451
let key = get_key_from_dir_entry ( & secondary_path, & primary_path) ?;
452
452
keys. push ( ( primary_namespace, secondary_namespace, key) ) ;
453
453
continue ' secondary_loop;
You can’t perform that action at this time.
0 commit comments