Skip to content

Commit f54a240

Browse files
skuzinsjbr
authored andcommitted
Fix error message
1 parent 272045b commit f54a240

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/method.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ impl FromStr for Method {
8080
"OPTIONS" => Ok(Self::Options),
8181
"TRACE" => Ok(Self::Trace),
8282
"PATCH" => Ok(Self::Patch),
83-
_ => crate::bail!("Invalid HTTP status code"),
83+
_ => crate::bail!("Invalid HTTP method"),
8484
}
8585
}
8686
}

0 commit comments

Comments
 (0)