2
0
Fork 0
mirror of https://github.com/rust-lang/rust-analyzer synced 2025-02-15 05:28:37 +00:00
rust-analyzer/crates/parser/src
Yuri Astrakhan e16c76e3c3 Inline all format arguments where possible
This makes code more readale and concise,
moving all format arguments like `format!("{}", foo)`
into the more compact `format!("{foo}")` form.

The change was automatically created with, so there are far less change
of an accidental typo.

```
cargo clippy --fix -- -A clippy::all -W clippy::uninlined_format_args
```
2022-12-24 14:36:10 -05:00
..
grammar docs: update the comment and add a test to half_open_range_pat 2022-12-16 10:44:25 +08:00
syntax_kind regenerate files with new syntax 2022-08-07 17:38:20 +05:30
tests Inline all format arguments where possible 2022-12-24 14:36:10 -05:00
event.rs internal: rename 2021-12-25 22:02:26 +03:00
grammar.rs Run cargo fix --edition-idioms 2022-07-20 15:02:08 +02:00
input.rs internal: rename 2021-12-25 22:02:26 +03:00
lexed_str.rs Remove non-needed clones 2022-12-23 02:20:03 -05:00
lib.rs Run cargo fix --edition-idioms 2022-07-20 15:02:08 +02:00
output.rs internal: add tests for extra parser entry points 2021-12-29 18:28:11 +03:00
parser.rs Inline all format arguments where possible 2022-12-24 14:36:10 -05:00
shortcuts.rs Run cargo fix --edition-idioms 2022-07-20 15:02:08 +02:00
syntax_kind.rs minor: modernize 2021-09-06 18:54:16 +03:00
tests.rs Inline all format arguments where possible 2022-12-24 14:36:10 -05:00
token_set.rs Add semicolons for consistency 2021-10-03 23:39:43 +11:00