Skip to content

Commit bb48a4d

Browse files
committed
Fix 'since' version in 'deprecated' attribute.
1 parent 370287c commit bb48a4d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/http/src/method.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,7 @@ impl Method {
300300
/// Deprecated. Returns `self.allows_request_body() == Some(true)`.
301301
///
302302
/// Use [`Method::allows_request_body()`] instead.
303-
#[deprecated(since = "0.6", note = "use Self::allows_request_body()")]
303+
#[deprecated(since = "0.6.0", note = "use Self::allows_request_body()")]
304304
pub const fn supports_payload(self) -> bool {
305305
match self.allows_request_body() {
306306
Some(v) => v,

0 commit comments

Comments
 (0)