Skip to content

Commit dd5f41d

Browse files
authored
Merge pull request diesel-rs#3031 from Ten0/fix_as_expression_doc_link
Fix AsExpression doc link
2 parents 0e49ce0 + 93470f7 commit dd5f41d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

diesel/src/serialize.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,8 @@ where
156156
/// database, you should use `i32::to_sql(x, out)` instead of writing to `out`
157157
/// yourself.)
158158
///
159-
/// Any types which implement this trait should also [`#[derive(AsExpression)]`].
159+
/// Any types which implement this trait should also
160+
/// [`#[derive(AsExpression)]`](derive@crate::expression::AsExpression).
160161
///
161162
/// ### Backend specific details
162163
///
@@ -168,7 +169,6 @@ where
168169
/// - For third party backends, consult that backend's documentation.
169170
///
170171
/// [`MysqlType`]: ../mysql/enum.MysqlType.html
171-
/// [`#[derive(AsExpression)]`]: ../expression/derive.AsExpression.html;
172172
///
173173
/// ### Examples
174174
///

0 commit comments

Comments
 (0)