Deadbeef
|
ad1113f87e
|
remove P
|
2025-08-09 15:47:01 +08:00 |
|
Thalia Archibald
|
2458ccd1f9
|
Simplify printf and shell format suggestions
|
2025-03-06 13:55:05 -08:00 |
|
bjorn3
|
1fcae03369
|
Rustfmt
|
2025-02-08 22:12:13 +00:00 |
|
Michael Goulet
|
c682aa162b
|
Reformat using the new identifier sorting from rustfmt
|
2024-09-22 19:11:29 -04:00 |
|
Nicholas Nethercote
|
0544d3a952
|
Add warn(unreachable_pub) to rustc_builtin_macros.
|
2024-08-16 08:46:57 +10:00 |
|
Nicholas Nethercote
|
84ac80f192
|
Reformat use declarations.
The previous commit updated `rustfmt.toml` appropriately. This commit is
the outcome of running `x fmt --all` with the new formatting options.
|
2024-07-29 08:26:52 +10:00 |
|
wuaoxiang
|
582fd1fb53
|
Fix println! ICE when parsing percent prefix number
|
2024-05-18 01:05:56 +00:00 |
|
klensy
|
de13a3871d
|
unwrap return Option value, as it always returns Some for some fns
|
2023-11-28 14:52:21 +03:00 |
|
Matthias Krüger
|
23815467a2
|
inline format!() args up to and including rustc_middle
|
2023-07-30 13:18:33 +02:00 |
|
Urgau
|
7dab6094bb
|
Remove useless drop of copy type
|
2023-05-10 19:36:01 +02:00 |
|
Maybe Waffle
|
6a28fb42a8
|
Remove double spaces after dots in comments
|
2023-01-17 08:09:33 +00:00 |
|
Maybe Waffle
|
700c095306
|
rustc_builtin_macros: remove ref patterns
... and other pattern matching improvements
|
2022-12-06 14:45:58 +00:00 |
|
David Renshaw
|
a661671ae3
|
[rustc_builtin_macros] add indices to format_foreign::printf::Substitution::Escape
|
2021-12-31 12:42:15 -05:00 |
|
Fabian Wolff
|
6490ed30e1
|
Improve error message for printf-style format strings
|
2021-09-29 02:02:45 +02:00 |
|
Matthias Krüger
|
4390a61b64
|
avoid full-slicing slices
If we already have a slice, there is no need to get another full-range slice from that, just use the original.
clippy::redundant_slicing
|
2021-02-16 00:31:11 +01:00 |
|
Matthias Krüger
|
d12a358673
|
use matches!() macro in more places
|
2020-12-24 13:35:12 +01:00 |
|
LingMan
|
e0871cc0be
|
Reduce boilerplate with the ? operator
|
2020-11-23 00:58:53 +01:00 |
|
LingMan
|
a56b0e96d0
|
Simplify using is_ascii_alphabetic and is_ascii_alphanumeric
|
2020-10-11 22:27:21 +02:00 |
|
LingMan
|
e533bb73bc
|
Don't duplicate char::is_ascii_digit
|
2020-10-11 22:27:20 +02:00 |
|
LingMan
|
d76b80768c
|
Merge two almost identical match arms
|
2020-09-23 01:09:24 +02:00 |
|
Matthias Krüger
|
9bb10cc907
|
use push(char) instead of push_str(&str) to add single chars to strings
clippy::single-char-push-str
|
2020-09-10 13:58:41 +02:00 |
|
mark
|
9e5f7d5631
|
mv compiler to compiler/
|
2020-08-30 18:45:07 +03:00 |
|