macro_rules! concat_with_file_separator { ($($t:tt)*) => { ... }; }
Expand description
Concatenates literals into a static string slice separated by FILE_SEPARATOR
. Prefixes and suffixes can also be added.
assert_eq!(concat!("test", slash_formatter::file_separator!(), 10, slash_formatter::file_separator!(), 'b', slash_formatter::file_separator!(), true), slash_formatter::concat_with_file_separator!("test", 10, 'b', true));