4 ms·
You might be missing the fact that this applies only to format strings, not strings in general. The interpolation into curly brackets is done by the format! (or
by lmkg 5y ago
You might be missing the fact that this applies only to format strings, not strings in general. The interpolation into curly brackets is done by the format! (or println!) macros, not a language feature of strings in general.