Skip to content

Commit

Permalink
Placate clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
kazimuth committed Aug 29, 2023
1 parent c2f3af0 commit f39f021
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/core/src/client/messages.rs
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ impl ServerMessage for OneOffQueryResponseMessage {
Message {
r#type: Some(message::Type::OneOffQueryResponse(OneOffQueryResponse {
message_id: self.message_id,
error: self.error.unwrap_or_else(|| "".to_string()),
error: self.error.unwrap_or_default(),
tables: self
.results
.into_iter()
Expand Down

0 comments on commit f39f021

Please sign in to comment.