From e4dc040620e164d6431094498388d141aab7bf1a Mon Sep 17 00:00:00 2001 From: Ryan Leckey Date: Mon, 20 Jul 2020 23:53:36 -0700 Subject: [PATCH] style: rustfmt --- sqlx-core/src/postgres/types/array.rs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/sqlx-core/src/postgres/types/array.rs b/sqlx-core/src/postgres/types/array.rs index fa7aabc2..3b9e5a71 100644 --- a/sqlx-core/src/postgres/types/array.rs +++ b/sqlx-core/src/postgres/types/array.rs @@ -108,9 +108,8 @@ where // the OID of the element let element_type_oid = buf.get_u32(); - element_type_info = PgTypeInfo::try_from_oid(element_type_oid).unwrap_or_else(|| { - PgTypeInfo(PgType::DeclareWithOid(element_type_oid)) - }); + element_type_info = PgTypeInfo::try_from_oid(element_type_oid) + .unwrap_or_else(|| PgTypeInfo(PgType::DeclareWithOid(element_type_oid))); // length of the array axis let len = buf.get_i32();