mirror of
https://github.com/launchbadge/sqlx
synced 2024-11-10 06:24:16 +00:00
fix duplicate "`" in FromRow "default" attribute doc comment
This commit is contained in:
parent
929af41745
commit
7becff70ba
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue