Rename to_public_user into into_public_user
This commit is contained in:
parent
97ab757633
commit
00c70501c4
|
@ -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)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue