Realized something cool: you can override the default `last()` method provided by the `iter::Iterator` trait, to not call the iterator `n` times, but once instead. This is pretty great :D https://doc.rust-lang.org/std/iter/trait.Iterator.html#method.last …
4:37 AM - 2 Jun 2018
0 replies
0 retweets
2 likes
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.