Rename to_public_user into into_public_user
This commit is contained in:
parent
713f9d7846
commit
c13ba6b291
|
@ -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