diff --git a/sqlx-core/src/query.rs b/sqlx-core/src/query.rs index 70675786eb..47d884a7cf 100644 --- a/sqlx-core/src/query.rs +++ b/sqlx-core/src/query.rs @@ -525,6 +525,7 @@ where /// // where `conn` is `PgConnection` or `MySqlConnection` /// // or some other type that implements `Executor`. /// let results = sqlx::query(&query).fetch_all(&mut conn).await?; +/// # Ok(()) /// # } /// ``` ///