From ee9812bd35409abe9532b1d508e04c1dae63c941 Mon Sep 17 00:00:00 2001 From: Owen Jacobson Date: Sun, 24 Aug 2025 04:01:13 -0400 Subject: Remove the now-unused return value from the final stage of user creation. --- src/user/create.rs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src/user/create.rs') diff --git a/src/user/create.rs b/src/user/create.rs index 0e7a118..5d7bf65 100644 --- a/src/user/create.rs +++ b/src/user/create.rs @@ -73,13 +73,10 @@ pub struct Stored { } impl Stored { - #[must_use = "dropping a user creation attempt is likely a mistake"] - pub fn publish(self, events: &Broadcaster) -> History { + pub fn publish(self, events: &Broadcaster) { let Self { user } = self; events.broadcast(user.events().map(Event::from).collect::>()); - - user } pub fn user(&self) -> &History { -- cgit v1.2.3