We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 151a011 commit d5cabf3Copy full SHA for d5cabf3
.github/workflows/main.yml
@@ -20,8 +20,8 @@ jobs:
20
- stable
21
- 1.71.0
22
features:
23
- - --no-default-features
24
-
+ - --no-default-features
25
- --features malloc_size_of
26
include:
27
- toolchain: nightly
src/macros.rs
@@ -186,10 +186,7 @@ macro_rules! ascii_case_insensitive_phf_map {
186
187
const MAX_LENGTH : usize = {
188
let mut maxlen : usize = 0;
189
- $(
190
- // {} is necessary to work around "[E0658]: attributes on expressions are experimental"
191
- { maxlen = const_usize_max(maxlen, ($key).len()); }
192
- )+
+ $( maxlen = const_usize_max(maxlen, ($key).len()); )+
193
maxlen
194
};
195
0 commit comments