From 490a1a2119bf98e68c21c1ca6a7b722ce16aeb38 Mon Sep 17 00:00:00 2001 From: Tom Harding Date: Mon, 16 Dec 2024 12:00:11 +0100 Subject: [PATCH] Linting --- crates/configuration/src/version4/native_operations.rs | 2 +- crates/configuration/src/version5/native_operations.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/configuration/src/version4/native_operations.rs b/crates/configuration/src/version4/native_operations.rs index 3079df2b..9a4a551c 100644 --- a/crates/configuration/src/version4/native_operations.rs +++ b/crates/configuration/src/version4/native_operations.rs @@ -173,7 +173,7 @@ pub async fn oids_to_typenames( for row in rows { let schema_name: String = row.schema_name; let type_name: String = row.type_name; - let oid: i64 = row.oid.into(); + let oid: i64 = row.oid; let mut found = false; for (scalar_type_name, info) in &configuration.metadata.scalar_types.0 { diff --git a/crates/configuration/src/version5/native_operations.rs b/crates/configuration/src/version5/native_operations.rs index 90c8f457..a9a7c0e3 100644 --- a/crates/configuration/src/version5/native_operations.rs +++ b/crates/configuration/src/version5/native_operations.rs @@ -178,7 +178,7 @@ pub async fn oids_to_typenames( for row in rows { let schema_name: String = row.schema_name; let type_name: String = row.type_name; - let oid: i64 = row.oid.into(); + let oid: i64 = row.oid; let mut found = false; for (scalar_type_name, info) in &configuration.metadata.types.scalar.0 {