Remove clone

master
Edward Shen 2022-06-02 22:24:46 -07:00
parent 531a7da636
commit dc216a80d5
Signed by: edward
GPG Key ID: 19182661E818369F
1 changed files with 1 additions and 1 deletions

View File

@ -267,7 +267,7 @@ pub fn get_config_data() -> Result<FileData, BunBunError> {
debug!("Checking locations for config file: {:?}", &locations);
for location in &locations {
let file = OpenOptions::new().read(true).open(location.clone());
let file = OpenOptions::new().read(true).open(location);
match file {
Ok(file) => {
debug!("Found file at {location:?}.");