We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
format!
crates/ide/src/inlay_hints.rs
1 parent 7488ff0 commit ac56b19Copy full SHA for ac56b19
crates/ide/src/inlay_hints.rs
@@ -379,7 +379,7 @@ fn fn_lifetime_fn_hints(
379
let mut gen_idx_name = {
380
let mut gen = (0u8..).map(|idx| match idx {
381
idx if idx < 10 => SmolStr::from_iter(['\'', (idx + 48) as char]),
382
- idx => format!("'{idx}").into(),
+ idx => format!("'{}", idx).into(),
383
});
384
move || gen.next().unwrap_or_default()
385
};
0 commit comments