ruff/crates/ruff_formatter/src
Charlie Marsh 716cab2f19
Run rustfmt on nightly to clean up erroneous comments (#5106)
## Summary

This PR runs `rustfmt` with a few nightly options as a one-time fix to
catch some malformatted comments. I ended up just running with:

```toml
condense_wildcard_suffixes = true
edition = "2021"
max_width = 100
normalize_comments = true
normalize_doc_attributes = true
reorder_impl_items = true
unstable_features = true
use_field_init_shorthand = true
```

Since these all seem like reasonable things to fix, so may as well while
I'm here.
2023-06-15 00:19:05 +00:00
..
format_element Remove collapsing space behaviour from Printer (#4782) 2023-06-01 13:38:42 +02:00
printer Remove collapsing space behaviour from Printer (#4782) 2023-06-01 13:38:42 +02:00
arguments.rs Add rome_formatter fork as ruff_formatter (#2872) 2023-02-14 19:22:55 -05:00
buffer.rs Run rustfmt on nightly to clean up erroneous comments (#5106) 2023-06-15 00:19:05 +00:00
builders.rs Rename ruff_formatter::builders::BestFitting to FormatBestFitting (#4841) 2023-06-04 00:13:51 +02:00
diagnostics.rs Run automatically format code blocks with Black (#3191) 2023-02-27 10:14:05 -05:00
format_element.rs Introduce SourceCodeSlice to reduce the size of FormatElement (#4622) 2023-05-24 15:04:52 +00:00
format_extensions.rs Run rustfmt on nightly to clean up erroneous comments (#5106) 2023-06-15 00:19:05 +00:00
formatter.rs Remove dependency on ruff_rowan (#2875) 2023-02-15 03:54:08 +00:00
group_id.rs Disallow unreachable_pub (#4314) 2023-05-11 18:00:00 -04:00
lib.rs Run rustfmt on nightly to clean up erroneous comments (#5106) 2023-06-15 00:19:05 +00:00
macros.rs Rename ruff_formatter::builders::BestFitting to FormatBestFitting (#4841) 2023-06-04 00:13:51 +02:00
prelude.rs Remove dependency on ruff_rowan (#2875) 2023-02-15 03:54:08 +00:00
source_code.rs Leading, Dangling, and Trailing comments formatting (#4785) 2023-06-02 09:26:36 +02:00