diff --git a/libsawtooth/src/families/smallbank/workload/playlist.rs b/libsawtooth/src/families/smallbank/workload/playlist.rs index 611709aba..3db6b0ce1 100644 --- a/libsawtooth/src/families/smallbank/workload/playlist.rs +++ b/libsawtooth/src/families/smallbank/workload/playlist.rs @@ -593,7 +593,7 @@ impl<'a> FmtWriter<'a> { impl<'a> fmt::Write for FmtWriter<'a> { fn write_str(&mut self, s: &str) -> Result<(), fmt::Error> { let w = &mut *self.writer; - w.write_all(s.as_bytes()).map_err(|_| fmt::Error::default()) + w.write_all(s.as_bytes()).map_err(|_| fmt::Error) } }