Skip to content

Commit

Permalink
Fix clippy (#1103)
Browse files Browse the repository at this point in the history
Signed-off-by: Miroslav Kovar <[email protected]>
  • Loading branch information
mirgee authored Jan 9, 2024
1 parent 5d0e4b3 commit 8a17c6b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aries/misc/legacy/agency_client/src/internal/messaging.rs
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ impl AgencyClient {
agent_vk: &str,
) -> AgencyClientResult<Vec<u8>> {
debug!("prepare_message_for_connection_agent >> {:?}", messages);
let message = messages.get(0).ok_or(AgencyClientError::from_msg(
let message = messages.first().ok_or(AgencyClientError::from_msg(
AgencyClientErrorKind::SerializationError,
"Cannot get message",
))?;
Expand Down

0 comments on commit 8a17c6b

Please sign in to comment.