Function slash_formatter::add_start_file_separator_build_in_place[][src]

pub fn add_start_file_separator_build_in_place(s: &mut String)

Add a starting FILE_SEPARATOR_ON_WORKSTATION into a string.

extern crate slash_formatter;

let mut s = String::from("path");

slash_formatter::add_start_file_separator_build_in_place(&mut s);

assert_eq!(concat!(slash_formatter::file_separator_build!(), "path"), s);