Skip to content

Commit

Permalink
remove clone from config
Browse files Browse the repository at this point in the history
  • Loading branch information
rob-maron committed May 3, 2024
1 parent bde96db commit 5791ece
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion cdn-client/src/retry.rs
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,6 @@ impl<C: ConnectionDef> Inner<C> {
}

/// The configuration needed to construct a `Retry` connection.
#[derive(Clone)]
pub struct Config<C: ConnectionDef> {
/// This is the remote endpoint of the marshal that we authenticate with.
pub endpoint: String,
Expand Down
2 changes: 1 addition & 1 deletion cdn-proto/src/crypto/signature.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ use super::rng::DeterministicRng;

/// This trait defines a generic signature scheme, wherein we can sign and verify messages
/// with the associated public and private keys.
pub trait SignatureScheme: Send + Sync + Clone + 'static {
pub trait SignatureScheme: Send + Sync + 'static {
/// The signing key type
type PrivateKey: Clone + Send + Sync;
/// The verification key type
Expand Down

0 comments on commit 5791ece

Please sign in to comment.