diff --git a/sqlx-core/src/from_row.rs b/sqlx-core/src/from_row.rs index 2c2ce3a7..08d0be3b 100644 --- a/sqlx-core/src/from_row.rs +++ b/sqlx-core/src/from_row.rs @@ -53,7 +53,7 @@ use crate::row::Row; /// /// ```rust,ignore /// #[derive(sqlx::FromRow)] -/// #[sqlx(rename_all = "camelCase")] +/// #[sqlx(rename_all = "mixedCase")] /// struct UserPost { /// id: i32, /// // remapped to "userId" @@ -63,7 +63,7 @@ use crate::row::Row; /// ``` /// /// The supported values are `snake_case` (available if you have non-snake-case field names for some -/// reason), `lowercase`, `UPPERCASE`, `camelCase`, `SCREAMING_SNAKE_CASE` and `kebab-case`. +/// reason), `lowercase`, `UPPERCASE`, `mixedCase`, `CamelCase`, `SCREAMING_SNAKE_CASE` and `kebab-case`. /// The styling of each option is intended to be an example of its behavior. /// /// #### `default`