mirror of
https://github.com/isar/rusqlite.git
synced 2025-04-05 14:57:45 +08:00
commit
09bd40b3f1
@ -20,7 +20,7 @@ type Result<T> = std::result::Result<T, String>;
|
|||||||
|
|
||||||
fn try_bind(input: TokenStream) -> Result<TokenStream> {
|
fn try_bind(input: TokenStream) -> Result<TokenStream> {
|
||||||
let (stmt, literal) = {
|
let (stmt, literal) = {
|
||||||
let mut iter = input.clone().into_iter();
|
let mut iter = input.into_iter();
|
||||||
let stmt = iter.next().unwrap();
|
let stmt = iter.next().unwrap();
|
||||||
let literal = iter.next().unwrap();
|
let literal = iter.next().unwrap();
|
||||||
assert!(iter.next().is_none());
|
assert!(iter.next().is_none());
|
||||||
|
Loading…
x
Reference in New Issue
Block a user