rust is not my favorite language

This commit is contained in:
Scott Chacon 2024-05-15 13:40:27 +02:00
parent a23253e57d
commit d267dbc77d
No known key found for this signature in database

View File

@ -639,9 +639,7 @@ impl ControllerInner {
let _permit = self.semaphore.acquire().await;
self.with_verify_branch(project_id, |project_repository, user| {
let result =
super::apply_branch(project_repository, branch_id, user).map_err(Into::into);
result
super::apply_branch(project_repository, branch_id, user).map_err(Into::into)
})
}