mirror of
https://github.com/launchbadge/sqlx.git
synced 2025-09-28 21:42:06 +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::VarString
|
||||
| ColumnType::Enum
|
||||
) && (ty.char_set == COLLATE_UTF8MB4_UNICODE_CI.into()
|
||||
|| ty.char_set == COLLATE_UTF8_UNICODE_CI.into())
|
||||
) && (ty.char_set == COLLATE_UTF8MB4_UNICODE_CI as u16
|
||||
|| ty.char_set == COLLATE_UTF8_UNICODE_CI as u16)
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user