We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents a007eb4 + 82b710a commit 864ee03Copy full SHA for 864ee03
src/main.rs
@@ -43,6 +43,7 @@ async fn init_file_if_not_exists(
43
44
if let Some(text) = text {
45
file.write_all(text).await?;
46
+ file.flush().await?;
47
}
48
49
Ok(())
0 commit comments