Skip to content

Commit 4c3568f

Browse files
authored
Merge pull request #89 from konkers/pr/clone_method
Allow `request::Method` to be copied and cloned
2 parents 0b529c4 + 275c790 commit 4c3568f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/request.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ where
217217
}
218218
}
219219

220-
#[derive(Debug, PartialEq)]
220+
#[derive(Clone, Copy, Debug, PartialEq)]
221221
#[cfg_attr(feature = "defmt", derive(defmt::Format))]
222222
/// HTTP request methods
223223
pub enum Method {

0 commit comments

Comments
 (0)