mirror of https://github.com/rwf2/Rocket.git
Fix 'since' version in 'deprecated' attribute.
This commit is contained in:
parent
370287c9a6
commit
bb48a4d724
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue