Skip to content

Commit d5cabf3

Browse files
committed
Review nits
Signed-off-by: Nico Burns <nico@nicoburns.com>
1 parent 151a011 commit d5cabf3

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ jobs:
2020
- stable
2121
- 1.71.0
2222
features:
23-
- --no-default-features
2423
-
24+
- --no-default-features
2525
- --features malloc_size_of
2626
include:
2727
- toolchain: nightly

src/macros.rs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -186,10 +186,7 @@ macro_rules! ascii_case_insensitive_phf_map {
186186

187187
const MAX_LENGTH : usize = {
188188
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-
)+
189+
$( maxlen = const_usize_max(maxlen, ($key).len()); )+
193190
maxlen
194191
};
195192

0 commit comments

Comments
 (0)