fix duplicate "`" in FromRow "default" attribute doc comment

This commit is contained in:
Arthur 2023-12-07 14:35:01 +08:00
parent 929af41745
commit 7becff70ba

View file

@ -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: