Skip to content

Commit 670054f

Browse files
Wicparpaulocsanz
authored andcommitted
removed where for diesel as it's not needed
1 parent 61d4751 commit 670054f

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/arraystring.rs

+1-4
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,7 @@ use std::{ptr, usize};
2525
derive(diesel::AsExpression, diesel::FromSqlRow)
2626
)]
2727
#[cfg_attr(feature = "diesel-traits", diesel(sql_type = diesel::sql_types::Text))]
28-
pub struct ArrayString<const N: usize>
29-
where
30-
Self: ValidCapacity,
31-
{
28+
pub struct ArrayString<const N: usize> {
3229
/// Array type corresponding to specified `SIZE`
3330
pub(crate) array: [u8; N],
3431
/// Current string size

0 commit comments

Comments
 (0)