diff options
author | Sven-Hendrik Haase <svenstaro@gmail.com> | 2022-12-30 10:27:10 +0000 |
---|---|---|
committer | Sven-Hendrik Haase <svenstaro@gmail.com> | 2022-12-30 10:27:10 +0000 |
commit | dcbf5396d0c063c21cc7b2eb4fdea946a1089ccf (patch) | |
tree | 98085910307cd72531ace802c267b0c43a40b4bd /tests/readme.rs | |
parent | Run cargo fmt (diff) | |
download | miniserve-dcbf5396d0c063c21cc7b2eb4fdea946a1089ccf.tar.gz miniserve-dcbf5396d0c063c21cc7b2eb4fdea946a1089ccf.zip |
Make clippy happy
Diffstat (limited to 'tests/readme.rs')
-rw-r--r-- | tests/readme.rs | 2 |
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 } |