Macro slash_formatter::concat_with_file_separator_build[][src]

macro_rules! concat_with_file_separator_build {
    ($($t:tt)*) => { ... };
}

Concatenates literals into a static string slice separated by FILE_SEPARATOR_ON_WORKSTATION. Prefixes and suffixes can also be added.

#[macro_use] extern crate slash_formatter;

assert_eq!(concat!("test", slash_formatter::file_separator_build!(), 10, slash_formatter::file_separator_build!(), 'b', slash_formatter::file_separator_build!(), true), concat_with_file_separator_build!("test", 10, 'b', true));