We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f8e724d commit 071dd0dCopy full SHA for 071dd0d
canyon_macros/src/canyon_mapper_macro.rs
@@ -218,13 +218,10 @@ fn create_row_mapper_error_extracting_row(
218
ty: &str,
219
db_ty: DatabaseType,
220
) -> String {
221
- std::io::Error::new(
222
- std::io::ErrorKind::Other,
223
- format!(
224
- "Failed to retrieve the `{}` field for type: {} with {}",
225
- field_ident, ty, db_ty
226
- ),
227
- )
+ std::io::Error::other(format!(
+ "Failed to retrieve the `{}` field for type: {} with {}",
+ field_ident, ty, db_ty
+ ))
228
.to_string()
229
}
230
0 commit comments