Update rusqlite from 0.24 to 0.25

This commit is contained in:
link2xt
2021-05-01 06:23:06 +03:00
parent c5aef03008
commit 17ad4e99ee
10 changed files with 35 additions and 35 deletions

View File

@@ -382,7 +382,7 @@ impl Message {
),
paramsv![id],
|row| {
let text = match row.get_raw("txt") {
let text = match row.get_ref("txt")? {
rusqlite::types::ValueRef::Text(buf) => {
match String::from_utf8(buf.to_vec()) {
Ok(t) => t,