Remove clone
This commit is contained in:
parent
531a7da636
commit
dc216a80d5
1 changed files with 1 additions and 1 deletions
|
@ -267,7 +267,7 @@ pub fn get_config_data() -> Result<FileData, BunBunError> {
|
||||||
debug!("Checking locations for config file: {:?}", &locations);
|
debug!("Checking locations for config file: {:?}", &locations);
|
||||||
|
|
||||||
for location in &locations {
|
for location in &locations {
|
||||||
let file = OpenOptions::new().read(true).open(location.clone());
|
let file = OpenOptions::new().read(true).open(location);
|
||||||
match file {
|
match file {
|
||||||
Ok(file) => {
|
Ok(file) => {
|
||||||
debug!("Found file at {location:?}.");
|
debug!("Found file at {location:?}.");
|
||||||
|
|
Loading…
Reference in a new issue