[–] squiguy7 9y 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 [–] Jonhoo 9y ago ↗ Good point -- it's not really relevant to the example that I'm using a borrow, so I changed it to a u64 instead.
[–] Jonhoo 9y ago ↗ Good point -- it's not really relevant to the example that I'm using a borrow, so I changed it to a u64 instead.
2 comments
[ 3.2 ms ] story [ 17.1 ms ] threadThanks for sharing though, it's well written.
[1]: https://is.gd/6azJ2J