chore: format code

This commit is contained in:
Paul Makles
2022-02-04 22:19:40 +00:00
parent 88273021a2
commit 8b4541feb0
6 changed files with 39 additions and 26 deletions

View File

@@ -35,7 +35,9 @@ pub async fn req(db: &Db, user: User, info: Json<Data>) -> Result<Json<Channel>>
set.insert(user.id.clone());
if set.len() > *MAX_GROUP_SIZE {
return Err(Error::GroupTooLarge { max: *MAX_GROUP_SIZE });
return Err(Error::GroupTooLarge {
max: *MAX_GROUP_SIZE,
});
}
for target in &set {