4 ms·
In the first section "Returning values", you need a lifetime specifier like in this example: [1]. Thanks for sharing though, it's well written. [1]: https://i
by squiguy7 10y ago
In the first section "Returning values", you need a lifetime specifier like in this example: [1].
Thanks for sharing though, it's well written.
[1]: https://is.gd/6azJ2J https://is.gd/6azJ2J
- Jonhoo 10y agoGood point -- it's not really relevant to the example that I'm using a borrow, so I changed it to a u64 instead.