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