replacer 0.4.0

Creating compilable Rust source code templates.
Documentation
1
2
3
4
5
6
7
8
fn main() {
    // Unfortunately the type needs to be wrapped with angle brackets here
    let some_type = <std::path::PathBuf>::new();
    println!("{:?}", some_type);

    let some_generic_type: Vec<String> = vec![];
    println!("{:?}", some_generic_type);
}