Skip to content

Commit

Permalink
Fix lint issue in build.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
ikornaselur committed Oct 18, 2023
1 parent 8d065d0 commit f3a3876
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ fn get_quotes() -> HashMap<String, Vec<Quote>> {
// Split the file name into name and extension
let file_name_string = file_name.into_string().unwrap();
let (key, ext) = file_name_string.split_once('.').unwrap();
let key = key.clone().to_string();
let key = key.to_string();

if ext == "json" {
let contents = fs::read_to_string(file.path()).unwrap();
Expand Down

0 comments on commit f3a3876

Please sign in to comment.