Skip to content

Commit 222587d

Browse files
authored
Update custom_types.rs
1 parent 65bcd7a commit 222587d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/custom_types.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ table! {
2222
#[diesel(postgres_type(name = "my_type"))]
2323
pub struct MyType;
2424

25-
#[derive(Debug, PartialEq, FromSqlRow, AsExpression)]
25+
#[derive(Clone, Debug, PartialEq, FromSqlRow, AsExpression)]
2626
#[diesel(sql_type = MyType)]
2727
pub enum MyEnum {
2828
Foo,

0 commit comments

Comments
 (0)