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.
write_all
1 parent a939f40 commit 1518bf0Copy full SHA for 1518bf0
src/librustdoc/doctest.rs
@@ -80,7 +80,7 @@ pub(crate) fn generate_args_file(file_path: &Path, options: &RustdocOptions) ->
80
81
let content = content.join("\n");
82
83
- file.write(content.as_bytes())
+ file.write_all(content.as_bytes())
84
.map_err(|error| format!("failed to write arguments to temporary file: {error:?}"))?;
85
Ok(())
86
}
0 commit comments