Skip to content

Commit

Permalink
Merge pull request #3956 from Tanguille/docs/clarify-as-expression-to…
Browse files Browse the repository at this point in the history
…-sql

docs: add mention of requirement to implement `ToSql`
  • Loading branch information
weiznich authored Mar 13, 2024
2 parents e04ab8a + f3ca1f8 commit 12429cb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions diesel_derives/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,8 @@ pub fn derive_as_changeset(input: TokenStream) -> TokenStream {
/// you can specify this by adding the annotation `#[diesel(not_sized)]`
/// as attribute on the type. This will skip the impls for non-reference types.
///
/// Using this derive requires implementing the `ToSql` trait for your type.
///
/// # Attributes:
///
/// ## Required container attributes
Expand Down

0 comments on commit 12429cb

Please sign in to comment.