Skip to content

Commit 367f999

Browse files
committed
fix(args.rs): fix clippy errors
1 parent 70dc4af commit 367f999

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/keys/key_config.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ impl KeyConfig {
4444
"The custom key bindings file dosen't exists"
4545
));
4646
}
47-
KeysList::init(path.to_path_buf())
47+
KeysList::init(path.clone())
4848
} else {
4949
KeysList::init(Self::get_config_file()?)
5050
};
@@ -55,7 +55,7 @@ impl KeyConfig {
5555
"The custom key symbols file dosen't exists"
5656
));
5757
}
58-
KeySymbols::init(path.to_path_buf())
58+
KeySymbols::init(path.clone())
5959
} else {
6060
KeySymbols::init(Self::get_symbols_file()?)
6161
};

0 commit comments

Comments
 (0)