Follow

I never know if I'm just really bad at or this is just how things work. πŸ€·β€β™€οΈ

πŸ€” πŸ¦€

Β· Web Β· 2 Β· 3 Β· 2

@kevin this is how things work, but it'd be better with some names, e.g.:

let words = n.text().split_whitespace();
let first_word = words.next().unwrap_or("0");
let first_word = first_word.to_string();

@bugaevc @kevin I've noticed that rustfmt will often take lines like that and
.stack()
.them()
.on(top, |of| (each, other))
which actually ends up looking pretty spiffy

Sign in to participate in the conversation
Mastodon

bullgit.party is a instance for everyone who is part of bullgit. πŸŽ‰