diff --git a/src/content/write.rs b/src/content/write.rs index 4ce6324..3a416ca 100644 --- a/src/content/write.rs +++ b/src/content/write.rs @@ -91,7 +91,7 @@ impl AsyncWriter { Ok(AsyncWriter(Mutex::new(State::Idle(Some(Inner { cache: cache_path, builder: IntegrityOpts::new().algorithm(algo), - tmpfile: task::spawn_blocking(|| NamedTempFile::new_in(tmp_path) ).await?, + tmpfile: task::spawn_blocking(|| NamedTempFile::new_in(tmp_path)).await?, buf: vec![], last_op: None, })))))