Skip to content

Commit

Permalink
Merge pull request #2919 from shengsheng/fix_doc
Browse files Browse the repository at this point in the history
fix duplicate "`" in FromRow "default" attribute doc comment
  • Loading branch information
abonander authored Jan 6, 2024
2 parents 7044a92 + 7becff7 commit 982c014
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sqlx-core/src/from_row.rs
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ use crate::{error::Error, row::Row};
/// will set the value of the field `location` to the default value of `Option<String>`,
/// which is `None`.
///
/// Moreover, if the struct has an implementation for [`Default`], you can use the `default``
/// Moreover, if the struct has an implementation for [`Default`], you can use the `default`
/// attribute at the struct level rather than for each single field. If a field does not appear in the result,
/// its value is taken from the `Default` implementation for the struct.
/// For example:
Expand Down

0 comments on commit 982c014

Please sign in to comment.