Skip to content

Commit 96e4755

Browse files
authored
Merge pull request #121 from tshepang/warnings
fix build warnings
2 parents da91829 + 18bb584 commit 96e4755

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/dump.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ pub(crate) fn dump_output(
8080
}
8181
return Ok(());
8282

83-
fn writer_for(out_dir: &Option<PathBuf>, name: &str) -> io::Result<Box<Write>> {
83+
fn writer_for(out_dir: &Option<PathBuf>, name: &str) -> io::Result<Box<dyn Write>> {
8484
// create a writer for the provided output.
8585
// If we have an output directory use that, otherwise just dump to stdout
8686
use std::fs;
@@ -111,7 +111,7 @@ trait OutputDump {
111111
}
112112

113113
fn dump_rows(
114-
stream: &mut Write,
114+
stream: &mut dyn Write,
115115
intern: &InternerTables,
116116
value: &impl OutputDump,
117117
) -> io::Result<()> {

0 commit comments

Comments
 (0)