Macro path_buf::path_buf
[−]
[src]
macro_rules! path_buf { ($($e: expr),*) => { ... }; }
Shorten PathBuf building code.
Examples
use std::path::Path; assert_eq!(path_buf!["/foo", "bar"].as_path(), Path::new("/foo/bar"));