Skip to content

Commit

Permalink
Merge pull request #3176 from CLEckhardt/fix_typo_sql_query_doc
Browse files Browse the repository at this point in the history
Fix doc typo for `fn sql_query`
  • Loading branch information
weiznich committed May 13, 2022
2 parents 4241346 + 768b98d commit 983209a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions diesel/src/query_builder/functions.rs
Expand Up @@ -588,8 +588,7 @@ pub fn replace_into<T: Table>(target: T) -> IncompleteReplaceStatement<T> {
/// # #[cfg(not(feature = "postgres"))]
/// // Checkout the documentation of your database for the correct
/// // bind placeholder
/// let users = sql_query("SELECT * FROM users WHERE id > ? AND name <> ?")
/// # ;
/// let users = sql_query("SELECT * FROM users WHERE id > ? AND name <> ?");
/// let users = users
/// .bind::<Integer, _>(1)
/// .bind::<Text, _>("Tess")
Expand Down

0 comments on commit 983209a

Please sign in to comment.