From c13ba6b29169b0b5716771da0cb75c4dd31c3c3f Mon Sep 17 00:00:00 2001 From: bitfl0wer Date: Tue, 23 Jan 2024 23:06:14 +0100 Subject: [PATCH] Rename to_public_user into into_public_user --- src/types/entities/user.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/types/entities/user.rs b/src/types/entities/user.rs index a7bdf63..d9f70ce 100644 --- a/src/types/entities/user.rs +++ b/src/types/entities/user.rs @@ -26,7 +26,7 @@ pub struct UserData { } impl User { - pub fn to_public_user(self) -> PublicUser { + pub fn into_public_user(self) -> PublicUser { PublicUser::from(self) } }