Skip to content

Commit

Permalink
♻️ Avoid unnecessary as_str call
Browse files Browse the repository at this point in the history
  • Loading branch information
ChanTsune committed Dec 17, 2024
1 parent fea9de4 commit 9b74979
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/src/archive.rs
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ mod tests {
archive
.add_entry({
let mut builder = EntryBuilder::new_file(
format!("test/text{i}").as_str().into(),
format!("test/text{i}").into(),
WriteOptions::store(),
)
.unwrap();
Expand Down

0 comments on commit 9b74979

Please sign in to comment.