How Clippy can improve your Rust code, a story in 5 acts:
Act 1 (clippy::needless_collect):
Act 2 (clippy::filter_next):
Act 3: (clippy::nonminimal_bool):
Act 4 (clippy::search_is_some):
Act 5 (the end):
You can follow @_romac.
Tip: mention @twtextapp on a Twitter thread with the keyword “unroll” to get a link to it.

Latest Threads Unrolled: