Skip to content

Commit

Permalink
Fix clippy lint ineffective_open_options
Browse files Browse the repository at this point in the history
This new `clippy` lint was introduced in the latest Rust release (1.76).
  • Loading branch information
MarkusPettersson98 committed Feb 8, 2024
1 parent bc51bf6 commit 54c52bc
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion android/translations-converter/src/gettext/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ pub fn append_to_template(
entries: impl Iterator<Item = MsgEntry>,
) -> Result<(), io::Error> {
let file = OpenOptions::new()
.write(true)
.append(true)
.open(file_path)?;
let mut sorted_entries: Vec<_> = entries.collect();
Expand Down

0 comments on commit 54c52bc

Please sign in to comment.