From 7d130a065833f4dd4a99ab9481430cc9315e2177 Mon Sep 17 00:00:00 2001 From: James Holman Date: Thu, 6 Jun 2024 18:22:50 +1000 Subject: [PATCH] fix: box error --- sqlx-postgres/src/types/cube.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sqlx-postgres/src/types/cube.rs b/sqlx-postgres/src/types/cube.rs index 81bacaa26c..6e99c94af8 100644 --- a/sqlx-postgres/src/types/cube.rs +++ b/sqlx-postgres/src/types/cube.rs @@ -1,10 +1,10 @@ -use std::str::FromStr; - use crate::decode::Decode; use crate::encode::{Encode, IsNull}; +use crate::error::BoxDynError; use crate::types::Type; use crate::{PgArgumentBuffer, PgHasArrayType, PgTypeInfo, PgValueFormat, PgValueRef, Postgres}; use sqlx_core::Error; +use std::str::FromStr; const BYTE_WIDTH: usize = 8; const CUBE_TYPE_ZERO_VOLUME: usize = 128;