Skip to content

Commit

Permalink
Merge pull request #121 from tshepang/warnings
Browse files Browse the repository at this point in the history
fix build warnings
  • Loading branch information
nikomatsakis authored Sep 13, 2019
2 parents da91829 + 18bb584 commit 96e4755
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/dump.rs
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ pub(crate) fn dump_output(
}
return Ok(());

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>> {
// create a writer for the provided output.
// If we have an output directory use that, otherwise just dump to stdout
use std::fs;
Expand Down Expand Up @@ -111,7 +111,7 @@ trait OutputDump {
}

fn dump_rows(
stream: &mut Write,
stream: &mut dyn Write,
intern: &InternerTables,
value: &impl OutputDump,
) -> io::Result<()> {
Expand Down

0 comments on commit 96e4755

Please sign in to comment.