Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix build warnings #121

Merged
merged 1 commit into from
Sep 13, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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