diff --git a/android/translations-converter/src/gettext/mod.rs b/android/translations-converter/src/gettext/mod.rs index b21e6075d5ae..ff92f9e6d420 100644 --- a/android/translations-converter/src/gettext/mod.rs +++ b/android/translations-converter/src/gettext/mod.rs @@ -24,10 +24,7 @@ pub fn append_to_template( file_path: impl AsRef, entries: impl Iterator, ) -> Result<(), io::Error> { - let file = OpenOptions::new() - .write(true) - .append(true) - .open(file_path)?; + let file = OpenOptions::new().append(true).open(file_path)?; let mut sorted_entries: Vec<_> = entries.collect(); let mut writer = BufWriter::new(file);