Skip to content

Commit

Permalink
Merge pull request #89 from konkers/pr/clone_method
Browse files Browse the repository at this point in the history
Allow `request::Method` to be copied and cloned
  • Loading branch information
lulf authored Oct 14, 2024
2 parents 0b529c4 + 275c790 commit 4c3568f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/request.rs
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ where
}
}

#[derive(Debug, PartialEq)]
#[derive(Clone, Copy, Debug, PartialEq)]
#[cfg_attr(feature = "defmt", derive(defmt::Format))]
/// HTTP request methods
pub enum Method {
Expand Down

0 comments on commit 4c3568f

Please sign in to comment.