Skip to content

Commit 67c741c

Browse files
committed
Fix a compilation error
1 parent 9785b69 commit 67c741c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

wp_api/src/api_error.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ pub enum WpApiError {
7070
impl WpApiError {
7171
pub fn status_code(&self) -> Option<u16> {
7272
match self {
73-
WpApiError::InvalidHttpStatusCode { status_code }
73+
WpApiError::InvalidHttpStatusCode { status_code, .. }
7474
| WpApiError::UnknownError { status_code, .. }
7575
| WpApiError::WpError { status_code, .. } => Some(*status_code),
7676
WpApiError::RequestExecutionFailed { status_code, .. } => *status_code,

0 commit comments

Comments
 (0)