From 0bbc83f09cc7517dddf16770a15f9e90815f48ba Mon Sep 17 00:00:00 2001 From: Owen Jacobson Date: Sun, 24 Aug 2025 17:03:16 -0400 Subject: Generate tokens in memory and then store them. This is the leading edge of a larger storage refactoring, where repo types stop doing things like generating secrets or deciding whether to carry out an operation. To make this work, there is now a `Token` type that holds the complete state of a token, in memory. --- src/user/history.rs | 1 - 1 file changed, 1 deletion(-) (limited to 'src/user/history.rs') diff --git a/src/user/history.rs b/src/user/history.rs index 4f99130..72e0aee 100644 --- a/src/user/history.rs +++ b/src/user/history.rs @@ -20,7 +20,6 @@ impl History { // if this returns a redacted or modified version of the user. If we implement // renames by redacting the original name, then this should return the edited // user, not the original, even if that's not how it was "as created.") - #[cfg(test)] pub fn as_created(&self) -> User { self.user.clone() } -- cgit v1.2.3