Skip to content

Commit

Permalink
Clippy is a friend and we like to keep our friends happy
Browse files Browse the repository at this point in the history
  • Loading branch information
maddymakesgames committed Mar 22, 2024
1 parent b99bb3f commit 57db0b4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions gui/src/editor/operations.rs
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ impl EditorScreen {
use std::{fs::OpenOptions, io::Write};
let mut file = match OpenOptions::new()
.create(true)
.truncate(true)
.write(true)
.open(file.path())
{
Expand Down

0 comments on commit 57db0b4

Please sign in to comment.