Macro embuild::path_buf

source ·
macro_rules! path_buf {
    ($($e: expr),*) => { ... };
}
Expand description

Build a PathBuf.

Examples

use std::path::Path;
use embuild::path_buf;
assert_eq!(path_buf!["/foo", "bar"].as_path(), Path::new("/foo/bar"));