mirror of
https://github.com/launchbadge/sqlx.git
synced 2025-10-02 15:25:32 +00:00
fix: type annotate a conversion in mysql/str
This commit is contained in:
parent
41261862d3
commit
dc0d325738
@ -27,8 +27,8 @@ impl Type<MySql> for str {
|
|||||||
| ColumnType::String
|
| ColumnType::String
|
||||||
| ColumnType::VarString
|
| ColumnType::VarString
|
||||||
| ColumnType::Enum
|
| ColumnType::Enum
|
||||||
) && (ty.char_set == COLLATE_UTF8MB4_UNICODE_CI.into()
|
) && (ty.char_set == COLLATE_UTF8MB4_UNICODE_CI as u16
|
||||||
|| ty.char_set == COLLATE_UTF8_UNICODE_CI.into())
|
|| ty.char_set == COLLATE_UTF8_UNICODE_CI as u16)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user