rust-lang/rustfmt
View on GitHub ↗ ★ 7,012 Rust
Format Rust code
20 mentions on Hacker News by 19 people: 2 stories, 18 comments · first 2016-03-04 · latest 2025-08-22
20082026
-
…to discover a formatter" versus "I want to format my code, and my tool already has that"). [1]: https://github.com/rust-lang/rustfmt
comment by woodruffw · 2025-08-22 · in Code formatting comes to uv experimentally -
…with these two specifically, it would be great to have them in stable. They're not yet though: https://github.com/rust-lang/rustfmt/issues/5083
comment by steveklabnik · 2025-02-21 · in Announcing Rust 1.85.0 and Rust 2024 -
…- /* prettier-ignore */: https://prettier.io/docs/en/ignore.html#javascript - #[rustfmt::skip]: https://github.com/rust-lang/rustfmt?tab=readme-ov-file#tips
comment by tczMUFlmoNk · 2024-06-17 · in Reformatting 100k Files at Google in 2011 -
…that you found. Alternatively, you can continue to write about how much free software sucks. [0]: https://github.com/rust-lang/rustfmt/issues/3347 [1]: https://github.com/rust-lang/cargo/pull/10344 [2]:…
comment by shepherdjerred · 2023-12-28 · in You can't do that because I hate you -
…breaks work syntax, like https://github.com/rust-lang/rust-analyzer/blob/master/crate... , https://github.com/rust-lang/rustfmt/blob/master/tests/sourc... , https://github.com/rust-lang/rust/blob/master/src/tools/rust... ,…
comment by eesmith · 2022-09-04 · in Python multi-level break and continue -
For example: https://github.com/rust-lang/rustfmt
comment by Thaxll · 2021-06-26 · in Go 1.17 is deprecating the traditional use of 'go get' -
…so I can get off of nightly and still have a break before else statements (aka "ClosingNextLine"): https://github.com/rust-lang/rustfmt/issues/3377
comment by AlchemistCamp · 2020-12-17 · in State of Rust Survey 2020 results -
…broken for subdirectory in Druid because of the use of a `cfg_if!` macro. We filed a bug ( https://github.com/rust-lang/rustfmt/issues/4266 ) but it got closed without (as far as I can tell) actually being fixed. Our present approach is to…
comment by raphlinus · 2020-09-16 · in Challenging LR Parsing -
…and rustfmt[2]. [0]: https://prettier.io [1]: https://github.com/apple/swift-format [2]: https://github.com/rust-lang/rustfmt
comment by kevinastone · 2020-06-18 · in GitHub Super Linter: one linter to rule them all -
…the community agrees on, in the same way that the Go community has by and large agreed on gofmt? https://github.com/rust-lang-nursery/rustfmt And is planned to be distributed with the compiler and the cargo stack by default
comment by aplanas · 2018-01-22 · in Why is Rust difficult? -
There is rustfmt https://github.com/rust-lang-nursery/rustfmt though it is a work in progress: https://github.com/rust-lang-nursery/fmt-rfcs
comment by DougBTX · 2018-01-22 · in Why is Rust difficult? -
rustfmt https://github.com/rust-lang-nursery/rustfmt
comment by timClicks · 2018-01-22 · in Why is Rust difficult? -
https://github.com/rust-lang-nursery/rustfmt It should be distributed along with the rest of the tooling in the coming months!
comment by steveklabnik · 2017-09-27 · in Why did we choose Rust to develop TiKV? -
…[1]: https://github.com/google/google-java-format [2]: https://github.com/google/yapf [3]: https://github.com/rust-lang-nursery/rustfmt
comment by rjeli · 2017-06-20 · in Tabs, spaces and your salary – how is it really? -
…code in the most "Rustic" way, but in terms of code formatting, there is already rustfmt[0] [0] https://github.com/rust-lang-nursery/rustfmt
comment by hackcrafter · 2017-05-05 · in The Rust Libs Blitz -
…find definition" > - Syntax checking https://atom.io/packages/linter-rust > - Integrated formatter https://github.com/rust-lang-nursery/rustfmt/blob/master/ato...
comment by jhasse · 2016-03-04 · in Announcing Rust 1.7 -
…a spec on how the code should be formatted. I think rust is heading in this direction with rust-fmt https://github.com/rust-lang-nursery/rustfmt
comment by yitchelle · 2016-03-04 · in Detecting Code Indentation