We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 69fd08d commit 13f0658Copy full SHA for 13f0658
tasks/common/src/test_file.rs
@@ -113,7 +113,7 @@ impl TestFile {
113
114
let _drop = std::fs::remove_file(&file);
115
let mut writer = std::fs::File::create(&file).map_err(err_to_string)?;
116
- let _drop = std::io::copy(&mut reader, &mut writer);
+ std::io::copy(&mut reader, &mut writer).map_err(err_to_string)?;
117
118
std::fs::read_to_string(&file)
119
.map_err(err_to_string)
0 commit comments