logoalt Hacker News

cyannyesterday at 11:36 PM1 replyview on HN

I've got a `.rustfmt.toml` file in all my repos with

  hard_tabs = true

Replies

LoganDarkyesterday at 11:39 PM

Yep, but because it's not the default, plenty of ecosystem tooling just does not properly track the two separate types of leading whitespace (indentation vs alignment) and will happily conflate every tab_width characters of alignment with an indentation level (which is grossly incorrect). I don't have an example off the top of my head because I run very far each time it happens.