dianne
|
17bb4bbc86
|
always peel &mut , to allow matching on &mut str
|
2025-05-05 04:29:33 -07:00 |
|
dianne
|
fe98130e0f
|
match ergonomics for string and byte string literal patterns
|
2025-05-05 04:10:49 -07:00 |
|
dianne
|
32503440cd
|
make [u8] and [u8;N] literal patterns usable in deref patterns
Specifically, this allows byte string literal patterns to be used where
a `[u8]` or `[u8;N]` is expected when `deref_patterns` is enabled.
|
2025-04-22 13:19:20 -07:00 |
|
dianne
|
61840254c5
|
make str literal patterns usable in deref patterns
Specifically, this allows string literal patterns to be used where a
`str` is expected when `deref_patterns` is enabled.
|
2025-04-22 13:19:17 -07:00 |
|