Skip to content

Commit

Permalink
style(clippy): Remove unnecessary trait bound
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobsvante committed Jun 13, 2024
1 parent 0b71361 commit b9c0515
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/client_core/src/domain.rs
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ impl<'a, T: ToSql + Sync + 'a, A: ArraySql<Item = T>> ToSql for DomainArray<'a,
pub fn escape_domain_to_sql<T: ToSql>(
ty: &Type,
w: &mut BytesMut,
iter: impl Iterator<Item = T> + ExactSizeIterator,
iter: impl ExactSizeIterator<Item = T>,
) -> Result<IsNull, Box<dyn Error + Sync + Send>> {
let member_type = match *ty.kind() {
Kind::Array(ref member) => escape_domain(member),
Expand Down

0 comments on commit b9c0515

Please sign in to comment.