From ef5746626a9aa5d267b96ac53f687f7bfda7bebb Mon Sep 17 00:00:00 2001 From: Joshua Potts <8704475+iamjpotts@users.noreply.github.com> Date: Thu, 21 Aug 2025 21:34:49 -0400 Subject: [PATCH 1/2] chore(core): Fix docstring for Query::try_bind Signed-off-by: Joshua Potts <8704475+iamjpotts@users.noreply.github.com> --- sqlx-core/src/query.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sqlx-core/src/query.rs b/sqlx-core/src/query.rs index 97c166116a..4ee528ef26 100644 --- a/sqlx-core/src/query.rs +++ b/sqlx-core/src/query.rs @@ -100,7 +100,7 @@ impl<'q, DB: Database> Query<'q, DB, ::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 an earlier value had failed. pub fn try_bind + Type>( &mut self, value: T, From 5d51b9bd88d571cca790fce68f9345a990540936 Mon Sep 17 00:00:00 2001 From: Joshua Potts <8704475+iamjpotts@users.noreply.github.com> Date: Fri, 22 Aug 2025 00:15:30 -0400 Subject: [PATCH 2/2] chore(core): Touch up docstring a little more Signed-off-by: Joshua Potts <8704475+iamjpotts@users.noreply.github.com> --- sqlx-core/src/query.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sqlx-core/src/query.rs b/sqlx-core/src/query.rs index 4ee528ef26..f76b2bd842 100644 --- a/sqlx-core/src/query.rs +++ b/sqlx-core/src/query.rs @@ -100,7 +100,7 @@ impl<'q, DB: Database> Query<'q, DB, ::Arguments<'q>> { self } - /// Like [`Query::bind`] but immediately returns an error if encoding an earlier value had failed. + /// Like [`Query::bind`] but immediately returns an error if encoding a value failed. pub fn try_bind + Type>( &mut self, value: T,