Skip to content

Commit

Permalink
Remove needless borrow
Browse files Browse the repository at this point in the history
  • Loading branch information
bash committed Dec 25, 2023
1 parent 0e01769 commit 496b08e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/bevy_plugin/tests/test_strings_tables.rs
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ fn appends_to_pre_existing_strings_file() -> anyhow::Result<()> {
let original_strings_path = project_root_path().join("assets/dialogue/de-CH.strings.csv");
let strings_file_path = dir.path().join("dialogue/de-CH.strings.csv");
fs::create_dir_all(strings_file_path.parent().unwrap())?;
fs::copy(&original_strings_path, &strings_file_path)?;
fs::copy(original_strings_path, &strings_file_path)?;
let original_strings_file_source = fs::read_to_string(&strings_file_path)?;
let original_strings_file_line_ids: Vec<_> = original_strings_file_source
.lines()
Expand Down

0 comments on commit 496b08e

Please sign in to comment.