Skip to content

Commit 63e4340

Browse files
committed
revert Type<DB> impl for Box<JsonRawValue>
1 parent a97b22a commit 63e4340

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

sqlx-core/src/types/json.rs

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -196,20 +196,6 @@ where
196196
}
197197
}
198198

199-
impl<DB> Type<DB> for Box<JsonRawValue>
200-
where
201-
for<'a> Json<&'a Self>: Type<DB>,
202-
DB: Database,
203-
{
204-
fn type_info() -> DB::TypeInfo {
205-
<Json<&Self> as Type<DB>>::type_info()
206-
}
207-
208-
fn compatible(ty: &DB::TypeInfo) -> bool {
209-
<Json<&Self> as Type<DB>>::compatible(ty)
210-
}
211-
}
212-
213199
impl<'q, DB> Encode<'q, DB> for JsonRawValue
214200
where
215201
for<'a> Json<&'a Self>: Encode<'q, DB>,

0 commit comments

Comments
 (0)