Macro clue_core::format_clue
source · macro_rules! format_clue { ($($strings:expr),+) => { ... }; }
Expand description
Format strings, used mainly inside the Clue code base
This is used to format strings in a way that is more efficient than using format!
Example
use clue_core::format_clue;
let a = "Hello";
let b = "World";
let c = format_clue!(a, ", ", b, "!");
assert_eq!(c, "Hello, World!");