summaryrefslogtreecommitdiffstats
path: root/crates/sellershut/src/entity/user.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/sellershut/src/entity/user.rs')
-rw-r--r--crates/sellershut/src/entity/user.rs6
1 files changed, 5 insertions, 1 deletions
diff --git a/crates/sellershut/src/entity/user.rs b/crates/sellershut/src/entity/user.rs
index d58f4eb..e3af58c 100644
--- a/crates/sellershut/src/entity/user.rs
+++ b/crates/sellershut/src/entity/user.rs
@@ -226,7 +226,11 @@ pub struct PartialPerson {
impl From<Person> for PartialPerson {
fn from(value: Person) -> Self {
- Self{ kind: value.kind, preferred_username: value.preferred_username, id: value.id }
+ Self {
+ kind: value.kind,
+ preferred_username: value.preferred_username,
+ id: value.id,
+ }
}
}