Skip to content

Commit de26121

Browse files
committed
Linter complaint
1 parent 204342a commit de26121

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

client/src/workflow_handle/mod.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -200,8 +200,7 @@ where
200200
o => Err(anyhow!(
201201
"Server returned an event that didn't match the CloseEvent filter. \
202202
This is either a server bug or a new event the SDK does not understand. \
203-
Event details: {:?}",
204-
o
203+
Event details: {o:?}"
205204
)),
206205
};
207206
}

sdk-core-protos/src/history_builder.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -621,7 +621,7 @@ fn default_attribs(et: EventType) -> Result<Attributes> {
621621
EventType::WorkflowExecutionStarted => default_wes_attribs().into(),
622622
EventType::WorkflowTaskScheduled => WorkflowTaskScheduledEventAttributes::default().into(),
623623
EventType::TimerStarted => TimerStartedEventAttributes::default().into(),
624-
_ => bail!("Don't know how to construct default attrs for {:?}", et),
624+
_ => bail!("Don't know how to construct default attrs for {et:?}"),
625625
})
626626
}
627627

0 commit comments

Comments
 (0)