aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--tests/readme.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/readme.rs b/tests/readme.rs
index 2a0ad13..7faea7b 100644
--- a/tests/readme.rs
+++ b/tests/readme.rs
@@ -94,7 +94,7 @@ fn write_readme_contents(path: PathBuf, filename: &str) -> PathBuf {
let readme_path = path.join(filename);
let mut readme_file = File::create(&readme_path).unwrap();
readme_file
- .write(format!("Contents of {filename}").as_bytes())
+ .write_all(format!("Contents of {filename}").as_bytes())
.expect("Couldn't write readme");
readme_path
}