Cargo fix

This commit is contained in:
gwenn 2019-01-26 10:55:14 +01:00
parent 1c3ad27b2f
commit 94d5fe55c8

View File

@ -999,7 +999,7 @@ mod test {
// dynamic slice:
db.query_row(
"SELECT ?1, ?2, ?3",
&[&1u8 as &ToSql, &"one", &Some("one")],
&[&1u8 as &dyn ToSql, &"one", &Some("one")],
|row| row.get::<_, u8>(0),
)
.unwrap();