You've already forked comprehensive-rust
mirror of
https://github.com/google/comprehensive-rust.git
synced 2025-10-09 10:55:26 +02:00
## What does this PR do? This PR extends the existing `format` job in `.github/workflows/build.yml` to **check Rust formatting with nightly `rustfmt`**: **Closes #2794**
10 lines
289 B
TOML
10 lines
289 B
TOML
# Please use a nightly rustfmt for these settings.
|
|
unstable_features = true
|
|
imports_granularity = "module"
|
|
wrap_comments = true
|
|
|
|
# The code blocks get a scrollbar if they are wider than this.
|
|
max_width = 85
|
|
# Allow all constructs to take up max_width columns.
|
|
use_small_heuristics = "Max"
|