Skip to content

Commit 4c6311a

Browse files
authored
Merge pull request #4111 from antonok-edm/hash-context-clone
Derive `Clone` for `hash::Context`
2 parents ca40dc7 + 11241c5 commit 4c6311a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

embassy-stm32/src/hash/mod.rs

+1
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,7 @@ pub enum DataType {
101101

102102
/// Stores the state of the HASH peripheral for suspending/resuming
103103
/// digest calculation.
104+
#[derive(Clone)]
104105
pub struct Context<'c> {
105106
first_word_sent: bool,
106107
key_sent: bool,

0 commit comments

Comments
 (0)