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 |
|