mirror of https://github.com/rwf2/Rocket.git
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. |
||
---|---|---|
.. | ||
src | ||
tests | ||
Cargo.toml |