I think it would be very valuable to have an example in the root documentation showing how to use with the quote crate.
Something like this:
fn main() {
let rust_snippet = quote!{
fn hello_world() {println!("hello world !")}
};
let abstract_file : File = syn::parse2(rust_snippet);
let pretty_rust = prettyplease::unparse(abstract_file);
println!(pretty_rust);
}
I think it would be very valuable to have an example in the root documentation showing how to use with the
quotecrate.Something like this: