this post was submitted on 07 Oct 2025
46 points (100.0% liked)

Rust

7477 readers
12 users here now

Welcome to the Rust community! This is a place to discuss about the Rust programming language.

Wormhole

!performance@programming.dev

Credits

  • The icon is a modified version of the official rust logo (changing the colors to a gradient and black background)

founded 2 years ago
MODERATORS
 

There was recently this article about Linus Torvalds' issues with rustfmt, which prompted others to voice their agreement with his sentiment online.

Yesterday someone pointed out how rustfmt is effectively unmaintained with basically no activity on the repository for months.

The contributors graph shows a similar story - there is essentially no development happening on rustfmt, it seems.

all 15 comments
sorted by: hot top controversial new old
[–] Kissaki@programming.dev 3 points 1 month ago (1 children)

https://doc.rust-lang.org/style-guide/index.html#small-items

We leave it to individual tools to decide on exactly what small means. In particular, tools are free to use different definitions in different circumstances.

What does this mean?

What does Linus when he says rustfmtcheck? cargo fmt check? A util I can't find with a simple search? Maybe they have makefile targets or sth for it?

The concerns raised by Linus make sense to me, but should be simple to solve. The small items description already mentions variance, and the need for tools to decide. So shouldn't it be a simple configuration change?

[–] Tempy@programming.dev 1 points 4 weeks ago

I think it's a script they added to do some sort of check with rustfmt.

[–] lens0021@programming.dev 1 points 4 weeks ago

I believe all you already read the reply from the devtools team lead https://github.com/rust-lang/rustfmt/issues/6678#issuecomment-3382819708