mirror of
https://github.com/launchbadge/sqlx.git
synced 2026-04-14 16:30:16 +00:00
chore(core): Fix docstring for Query::try_bind (#3986)
* chore(core): Fix docstring for Query::try_bind Signed-off-by: Joshua Potts <8704475+iamjpotts@users.noreply.github.com> * chore(core): Touch up docstring a little more Signed-off-by: Joshua Potts <8704475+iamjpotts@users.noreply.github.com> --------- Signed-off-by: Joshua Potts <8704475+iamjpotts@users.noreply.github.com>
This commit is contained in:
@@ -100,7 +100,7 @@ impl<'q, DB: Database> Query<'q, DB, <DB as Database>::Arguments<'q>> {
|
||||
self
|
||||
}
|
||||
|
||||
/// Like [`Query::try_bind`] but immediately returns an error if encoding the value failed.
|
||||
/// Like [`Query::bind`] but immediately returns an error if encoding a value failed.
|
||||
pub fn try_bind<T: 'q + Encode<'q, DB> + Type<DB>>(
|
||||
&mut self,
|
||||
value: T,
|
||||
|
||||
Reference in New Issue
Block a user