Today I learnt that `cargo fix` won't fix code with compiler errors by default, but you can override this!
$ cargo fix --broken-code --allow-dirty && cargo clippy --fix --allow-dirty
This incantation does exactly what I wanted :)
Today I learnt that clippy doesn't run on your tests by default! `cargo clippy --all-targets` will make lots of additional useful suggestions on your Rust code.
Today I learnt that Arch Linux has a paccache.timer built-in service. This service (you can enable it from systemctl) ensures your package cache doesn't grow excessively.
Really handy, though I wonder why it isn't enabled by default.
Wilfred Hughes
Shared words: learnt, Today, default, does
Score: 76.3
Today I learnt about clippy::clone_on_ref_ptr, which complains about t.clone() on a Rc<Thing>. You write Rc::clone(t) instead, so it's obvious it's a cheap clone.
It's a nice approach, because it makes the expensive clones more obvious.