Skip to content

Commit 0849fe3

Browse files
authored
chore(core): Fix docstring for Query::try_bind (#3986)
* chore(core): Fix docstring for Query::try_bind Signed-off-by: Joshua Potts <[email protected]> * chore(core): Touch up docstring a little more Signed-off-by: Joshua Potts <[email protected]> --------- Signed-off-by: Joshua Potts <[email protected]>
1 parent b81a44d commit 0849fe3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sqlx-core/src/query.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ impl<'q, DB: Database> Query<'q, DB, <DB as Database>::Arguments<'q>> {
100100
self
101101
}
102102

103-
/// Like [`Query::try_bind`] but immediately returns an error if encoding the value failed.
103+
/// Like [`Query::bind`] but immediately returns an error if encoding a value failed.
104104
pub fn try_bind<T: 'q + Encode<'q, DB> + Type<DB>>(
105105
&mut self,
106106
value: T,

0 commit comments

Comments
 (0)