mirror of
https://github.com/rwf2/Rocket.git
synced 2025-01-24 10:22:23 +00:00
9f65977b99
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. |
||
---|---|---|
.. | ||
codegen | ||
http | ||
lib |