Frog
cosmogonicfrog.bsky.social
Frog
@cosmogonicfrog.bsky.social
Yeah I've got that all hooked up and it's been a game-changer. When I've tried Rust in the past, I've been going in bare. Much easier this time with all the extra tooling.

I've been giving Helix editor a go as well and it's definitely worth a look. It's hard to break my Vim habits though.
December 3, 2024 at 8:50 PM
Lol you're right. I just ran Clippy and got the same suggestion. Didn't even know that Cargo came with Clippy so I've learnt something else 😁 Cheers!
December 3, 2024 at 4:55 PM
This looks almost exactly the same as mine: github.com/johnstones/a.... I wanted to get a better grasp of iterators too.

I like your `(1..=3).contains()` and I might steal it. One small difference is I used `.is_sorted()` and `.rev().is_sorted()` to check ascending and descending.
github.com
December 3, 2024 at 4:15 PM
Lol yeah. Easy enough to add but that surprised me as well. I suppose it is a fairly situational library.
December 3, 2024 at 2:58 PM