Fix 'since' version in 'deprecated' attribute.

This commit is contained in:
Sergio Benitez 2024-05-07 02:18:24 -07:00
parent 370287c9a6
commit bb48a4d724
1 changed files with 1 additions and 1 deletions

View File

@ -300,7 +300,7 @@ impl Method {
/// Deprecated. Returns `self.allows_request_body() == Some(true)`.
///
/// Use [`Method::allows_request_body()`] instead.
#[deprecated(since = "0.6", note = "use Self::allows_request_body()")]
#[deprecated(since = "0.6.0", note = "use Self::allows_request_body()")]
pub const fn supports_payload(self) -> bool {
match self.allows_request_body() {
Some(v) => v,