Skip to content

Commit 66ed8b4

Browse files
committed
following clippy
1 parent d6a7fd4 commit 66ed8b4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ast/ddl.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ impl fmt::Display for ColumnOption {
187187
on_update,
188188
} => {
189189
write!(f, "REFERENCES {}", foreign_table)?;
190-
if referred_columns.len() > 0 {
190+
if ! referred_columns.is_empty() {
191191
write!(f, " ({})", display_comma_separated(referred_columns))?;
192192
}
193193
if let Some(action) = on_delete {

0 commit comments

Comments
 (0)