# rustfmt
Links: [[Rust]]
## [Configuring rustfmt](https://github.com/rust-lang/rustfmt/blob/master/Configurations.md)
Place `rustfmt.toml` in the project directory
### `comment_width`
Maximum length of comments.
- Default: 80
- No effect unless `wrap_comments = true`.
### `max_width`
Maximum width of each line
- Default value: 100
- Possible values: any positive integer
- Stable: Yes