Fix compiler warnings

cargo test passes
This commit is contained in:
Nathan Fiedler
2020-05-21 08:40:16 -07:00
parent 78e61525d6
commit 63f2bf6a12
2 changed files with 3 additions and 3 deletions

View File

@ -135,7 +135,7 @@ macro_rules! set_get_unchecked {
}
)*
pub fn fmt_unchecked_settings(&self, f: &mut ::std::fmt::Formatter, prefix: &str) -> ::std::fmt::Result {
$( writeln!(f, "{}{:<50}: {:?}", prefix, stringify!($c_get), self.$get()); )*
$( writeln!(f, "{}{:<50}: {:?}", prefix, stringify!($c_get), self.$get())?; )*
Ok(())
}
}