Skip to content

Commit

Permalink
feat(services/surrealdb): make clippy happy
Browse files Browse the repository at this point in the history
  • Loading branch information
yufan022 committed Mar 18, 2024
1 parent 8f5c5b7 commit 7f77712
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/src/services/surrealdb/backend.rs
Original file line number Diff line number Diff line change
Expand Up @@ -214,12 +214,12 @@ impl Builder for SurrealdbBuilder {
.config
.username
.clone()
.unwrap_or_else(|| "".to_string());
.unwrap_or_default();
let password = self
.config
.password
.clone()
.unwrap_or_else(|| "".to_string());
.unwrap_or_default();
let key_field = self
.config
.key_field
Expand Down

0 comments on commit 7f77712

Please sign in to comment.