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 @@ -429,8 +429,8 @@ impl MigratableKVStore for FilesystemStore {
429
429
let primary_path = primary_entry. path ( ) ;
430
430
431
431
if dir_entry_is_key ( & primary_path) ? {
432
- let primary_namespace = "" . to_string ( ) ;
433
- let secondary_namespace = "" . to_string ( ) ;
432
+ let primary_namespace = String :: new ( ) ;
433
+ let secondary_namespace = String :: new ( ) ;
434
434
let key = get_key_from_dir_entry ( & primary_path, prefixed_dest) ?;
435
435
keys. push ( ( primary_namespace, secondary_namespace, key) ) ;
436
436
continue ' primary_loop;
@@ -443,7 +443,7 @@ impl MigratableKVStore for FilesystemStore {
443
443
444
444
if dir_entry_is_key ( & secondary_path) ? {
445
445
let primary_namespace = get_key_from_dir_entry ( & primary_path, prefixed_dest) ?;
446
- let secondary_namespace = "" . to_string ( ) ;
446
+ let secondary_namespace = String :: new ( ) ;
447
447
let key = get_key_from_dir_entry ( & secondary_path, & primary_path) ?;
448
448
keys. push ( ( primary_namespace, secondary_namespace, key) ) ;
449
449
continue ' secondary_loop;
You can’t perform that action at this time.
0 commit comments