Skip to content

Commit e3c3ffd

Browse files
committed
fix: derive Clone for SessionKey
1 parent 77406cb commit e3c3ffd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

actix-session/src/storage/session_key.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ use derive_more::derive::{Display, From};
1414
/// let session_key: Result<SessionKey, _> = key.try_into();
1515
/// assert!(session_key.is_err());
1616
/// ```
17-
#[derive(Debug, PartialEq, Eq)]
17+
#[derive(Debug, Clone, PartialEq, Eq)]
1818
pub struct SessionKey(String);
1919

2020
impl TryFrom<String> for SessionKey {

0 commit comments

Comments
 (0)