We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e926d2f commit 93a9794Copy full SHA for 93a9794
crates/extensions/tedge_flows/src/flow.rs
@@ -258,8 +258,8 @@ impl std::fmt::Display for Message {
258
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
259
write!(f, "[{}] ", self.topic)?;
260
match &self.payload_str() {
261
- Some(str) => str.fmt(f),
262
- None => format!("{:?}", self.payload).fmt(f),
+ Some(str) => write!(f, "{str}"),
+ None => write!(f, "{:?}", self.payload),
263
}
264
265
0 commit comments