Tebro
tebro.bsky.social
Tebro
@tebro.bsky.social
Yeah I have code actions, just haven't seen/noticed clippy in there. Also is `<leader>ca` some kind of ISO/IEC standard? Seems everyone has that bind for code actions 😀
December 3, 2024 at 7:34 PM
Thanks! I use Zed (or Neovim), but I do use rust-analyzer as the LSP. Though I haven't seen any clippy actions yet with those tools.
December 3, 2024 at 7:05 PM
Yup, just turned in pedantic mode and man did I get scolded…
December 3, 2024 at 6:18 PM
and thanks to the thread I just found out abut clippy, and it doesn't like me.
December 3, 2024 at 5:50 PM
As someone who has just dabbled with Rust those windows look quite useful...
December 3, 2024 at 5:39 PM
My approach is more ”make it work, get the stars, and then make it fast and pretty, then commit and push”

I usually end up with a few different approaches golfed out. Then after day 10 my energy and time runs out 😅
December 3, 2024 at 5:29 PM
Day 3 had some fun code golfing opportunities. Managed to reduce the execution times for part 1 from 100ms to 261µs and part 2 from 5ms to 217µs
December 3, 2024 at 11:33 AM
At least you do your magic in steps, not chained together in one long magic one liner.
November 24, 2024 at 9:47 PM