Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove closure borrow in 'FromForm' derive.
The codegen for field validations previously included a closure that could potentially partially borrow a 'Copy' field of the context structure. To prevent this, 'let'-assign the field before the closure is created, and use the assignment inside of the closure.
- Loading branch information