mirror of
https://github.com/launchbadge/sqlx.git
synced 2025-10-02 15:25:32 +00:00
fix duplicate "`" in FromRow "default" attribute doc comment
This commit is contained in:
parent
929af41745
commit
7becff70ba
@ -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>`,
|
/// will set the value of the field `location` to the default value of `Option<String>`,
|
||||||
/// which is `None`.
|
/// 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,
|
/// 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.
|
/// its value is taken from the `Default` implementation for the struct.
|
||||||
/// For example:
|
/// For example:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user