We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Having to do something like
stmt.query([&10 as &ToSql, & &"foo" as &ToSql, &None::<uint> as &ToSql]);
Is a huge pain. This problem will be less painful once Rust supports cross-crate macro exports, and we can write a params! macro like
params!
stmt.query(params!(&10, & &"foo", &None::<uint>))
Hopefully Rust will eventually implicitly cast and auto-borrow to trait objects so the syntax will end up as
stmt.query([10, &"foo", None::<uint>]);
The text was updated successfully, but these errors were encountered:
Fixed by rust-lang/rust#15069!
Sorry, something went wrong.
No branches or pull requests
Having to do something like
Is a huge pain. This problem will be less painful once Rust supports cross-crate macro exports, and we can write a
params!
macro likeHopefully Rust will eventually implicitly cast and auto-borrow to trait objects so the syntax will end up as
The text was updated successfully, but these errors were encountered: