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