Skip to content

Commit

Permalink
Merge pull request #144 from lorenzofelletti/feature/clone-tls-config
Browse files Browse the repository at this point in the history
feat: derive `Clone` for `TlsConfig`
  • Loading branch information
lulf authored Aug 2, 2024
2 parents 0e2b640 + 5a0466c commit 7936bc1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ where
}
}

#[derive(Debug)]
#[derive(Debug, Clone)]
#[cfg_attr(feature = "defmt", derive(defmt::Format))]
#[must_use = "TlsConfig does nothing unless consumed"]
pub struct TlsConfig<'a> {
Expand Down

0 comments on commit 7936bc1

Please sign in to comment.