mirror of
https://github.com/rwf2/Rocket.git
synced 2025-01-16 22:49:06 +00:00
39f7f2d32b
Previously, a Request's only lifetime parameter referred to itself. This causes many issues and is simply wrong. Instead, use `transmute` to make the lifetime `static`. As long the contents inside Request don't move or change, the references are valid. We keep the lifetime as a phantom in `Request` for future use. |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |