Skip to content

Commit

Permalink
Eliminate duplicate function modifiers. (#640)
Browse files Browse the repository at this point in the history
  • Loading branch information
willmurnane authored Aug 18, 2022
1 parent 1c7e652 commit 7538945
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pgx-utils/src/sql_entity_graph/pg_extern/entity/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,8 @@ impl ToSql for PgExternEntity {
if strict_upgrade {
extern_attrs.push(ExternArgs::Strict);
}
extern_attrs.sort();
extern_attrs.dedup();

let module_pathname = &context.get_module_pathname();

Expand Down

0 comments on commit 7538945

Please sign in to comment.