Merge pull request #2919 from shengsheng/fix_doc

fix duplicate "`" in FromRow "default" attribute doc comment
This commit is contained in:
Austin Bonander 2024-01-05 21:17:18 -08:00 committed by GitHub
commit 982c014f54
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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: