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.
2 parents da91829 + 18bb584 commit 96e4755Copy full SHA for 96e4755
src/dump.rs
@@ -80,7 +80,7 @@ pub(crate) fn dump_output(
80
}
81
return Ok(());
82
83
- fn writer_for(out_dir: &Option<PathBuf>, name: &str) -> io::Result<Box<Write>> {
+ fn writer_for(out_dir: &Option<PathBuf>, name: &str) -> io::Result<Box<dyn Write>> {
84
// create a writer for the provided output.
85
// If we have an output directory use that, otherwise just dump to stdout
86
use std::fs;
@@ -111,7 +111,7 @@ trait OutputDump {
111
112
113
fn dump_rows(
114
- stream: &mut Write,
+ stream: &mut dyn Write,
115
intern: &InternerTables,
116
value: &impl OutputDump,
117
) -> io::Result<()> {
0 commit comments