Skip to content

Commit

Permalink
clippy again
Browse files Browse the repository at this point in the history
  • Loading branch information
blx committed Sep 1, 2022
1 parent 1cae696 commit 3a38d6d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ast/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1977,10 +1977,10 @@ impl fmt::Display for Statement {
None => ""
}
)?;
if let Some(limit) = &*connection_limit {
if let Some(limit) = connection_limit {
write!(f, " CONNECTION LIMIT {}", limit)?;
}
match &*password {
match password {
Some(Password::Password(pass)) => write!(f, " PASSWORD {}", pass),
Some(Password::NullPassword) => write!(f, " PASSWORD NULL"),
None => Ok(()),
Expand Down

0 comments on commit 3a38d6d

Please sign in to comment.