Skip to content

Commit caefc9a

Browse files
committed
Mark Method as non-exhaustive
1 parent a47a9b1 commit caefc9a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/method.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ use std::str::FromStr;
1111
/// [Mozilla docs]: https://developer.mozilla.org/en-US/docs/Web/HTTP/Methods
1212
/// [RFC7231, Section 4]: https://tools.ietf.org/html/rfc7231#section-4
1313
/// [HTTP Method Registry]: https://www.iana.org/assignments/http-methods/http-methods.xhtml
14+
#[non_exhaustive]
1415
#[derive(Debug, Clone, Copy, Eq, PartialEq, Hash)]
1516
pub enum Method {
1617
/// The ACL method modifies the access control list (which can be read via the DAV:acl

0 commit comments

Comments
 (0)