From bb48a4d72419af38fb53a25393195daa2d658f17 Mon Sep 17 00:00:00 2001 From: Sergio Benitez Date: Tue, 7 May 2024 02:18:24 -0700 Subject: [PATCH] Fix 'since' version in 'deprecated' attribute. --- core/http/src/method.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/http/src/method.rs b/core/http/src/method.rs index 46c25b53..cf6129ea 100644 --- a/core/http/src/method.rs +++ b/core/http/src/method.rs @@ -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,