Skip to content

Commit 6c3d09e

Browse files
authored
Merge pull request #9 from mcmod-info-mirror/deepsource-autofix-63edaf72
refactor: replace unneeded field pattern with `..`
2 parents b96df03 + d518d41 commit 6c3d09e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/errors/routes.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ impl ApiError {
3838
impl From<ServiceError> for ApiError {
3939
fn from(err: ServiceError) -> Self {
4040
match err {
41-
ServiceError::DatabaseError { message, source: _ } => {
41+
ServiceError::DatabaseError { message, .. } => {
4242
ApiError::InternalServerError(format!("Database error: {}", message))
4343
}
4444
ServiceError::NotFound { resource, detail } => {

0 commit comments

Comments
 (0)