chore: Bump Rust version to 1.77 (#9631)

Release Notes:

- N/A
This commit is contained in:
Piotr Osiewicz 2024-03-21 15:42:59 +01:00 committed by GitHub
parent 65152baa3f
commit 6184278faf
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 11 additions and 7 deletions

View file

@ -94,6 +94,7 @@ pub fn new_journal_entry(app_state: Arc<AppState>, cx: &mut WindowContext) {
std::fs::create_dir_all(month_dir)?;
OpenOptions::new()
.create(true)
.truncate(false)
.write(true)
.open(&entry_path)?;
Ok::<_, std::io::Error>((journal_dir, entry_path))