Skip to content

Commit ac56b19

Browse files
committed
Fixed some new usage of format! incompatible with older versions of rustc introduced in some commit in crates/ide/src/inlay_hints.rs file
1 parent 7488ff0 commit ac56b19

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/ide/src/inlay_hints.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -379,7 +379,7 @@ fn fn_lifetime_fn_hints(
379379
let mut gen_idx_name = {
380380
let mut gen = (0u8..).map(|idx| match idx {
381381
idx if idx < 10 => SmolStr::from_iter(['\'', (idx + 48) as char]),
382-
idx => format!("'{idx}").into(),
382+
idx => format!("'{}", idx).into(),
383383
});
384384
move || gen.next().unwrap_or_default()
385385
};

0 commit comments

Comments
 (0)