mirror of
https://github.com/isar/rusqlite.git
synced 2024-11-26 19:41:37 +08:00
Cargo fix
This commit is contained in:
parent
1c3ad27b2f
commit
94d5fe55c8
@ -999,7 +999,7 @@ mod test {
|
|||||||
// dynamic slice:
|
// dynamic slice:
|
||||||
db.query_row(
|
db.query_row(
|
||||||
"SELECT ?1, ?2, ?3",
|
"SELECT ?1, ?2, ?3",
|
||||||
&[&1u8 as &ToSql, &"one", &Some("one")],
|
&[&1u8 as &dyn ToSql, &"one", &Some("one")],
|
||||||
|row| row.get::<_, u8>(0),
|
|row| row.get::<_, u8>(0),
|
||||||
)
|
)
|
||||||
.unwrap();
|
.unwrap();
|
||||||
|
Loading…
Reference in New Issue
Block a user