We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 370287c commit bb48a4dCopy full SHA for bb48a4d
core/http/src/method.rs
@@ -300,7 +300,7 @@ impl Method {
300
/// Deprecated. Returns `self.allows_request_body() == Some(true)`.
301
///
302
/// Use [`Method::allows_request_body()`] instead.
303
- #[deprecated(since = "0.6", note = "use Self::allows_request_body()")]
+ #[deprecated(since = "0.6.0", note = "use Self::allows_request_body()")]
304
pub const fn supports_payload(self) -> bool {
305
match self.allows_request_body() {
306
Some(v) => v,
0 commit comments