Skip to content

Commit

Permalink
fix warning about bare trait objects
Browse files Browse the repository at this point in the history
  • Loading branch information
colin-kiegel committed Jun 9, 2019
1 parent d1e54ce commit 2f4058a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/format_changeset.rs
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ macro_rules! join {
)
}

pub fn format_replacement(f: &mut fmt::Write, added: &str, removed: &str) -> fmt::Result {
pub fn format_replacement(f: &mut dyn fmt::Write, added: &str, removed: &str) -> fmt::Result {
let Changeset { diffs, .. } = Changeset::new(removed, added, "");

// LEFT side (==what's been)
Expand Down

0 comments on commit 2f4058a

Please sign in to comment.