aboutsummaryrefslogtreecommitdiff
path: root/lockchain-core/src/users/tokens.rs
diff options
context:
space:
mode:
Diffstat (limited to 'lockchain-core/src/users/tokens.rs')
-rw-r--r--lockchain-core/src/users/tokens.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/lockchain-core/src/users/tokens.rs b/lockchain-core/src/users/tokens.rs
index 1c62c7a..535fdb9 100644
--- a/lockchain-core/src/users/tokens.rs
+++ b/lockchain-core/src/users/tokens.rs
@@ -4,14 +4,14 @@ use std::borrow::Cow;
/// An authentication token that can be compared in constant time
///
/// ```
-/// use lockchain_core::users::auth::Token;
+/// use lockchain_core::users::Token;
/// let t1 = Token::new();
/// let t2 = Token::new();
///
/// // Will fail, but no expose failure length
-/// assert_eq!(t1, t2);
+/// assert!(t1 != t2);
/// ```
-#[derive(PartialEq, Eq, Serialize, Deserialize, Clone)]
+#[derive(Debug, PartialEq, Eq, Serialize, Deserialize, Clone)]
pub struct Token {
inner: Key,
}