Macro quote_use::quote_use

source ·
quote_use!() { /* proc-macro */ }
Expand description

[quote!] replacement that allows using paths to be automaticly replaced.

It supports both the explicit use via use some::path::Type; and the use of the rust prelude:

quote_use! {
    # use std::fs::read;

    read("src/main.rs")

    Some(20)
}