When using quote in a build.rs or main.rs and writing the output out to a file, consider having the code generator pass the tokens through [prettyplease](https://github.com/dtolnay/prettyplease) before writing.
but how? The result of quote! is a TokenStream, but prettyplease expects a syn::File. Is there a straightforward & efficient conversion?
The documentation says
but how? The result of
quote!
is aTokenStream
, but prettyplease expects asyn::File
. Is there a straightforward & efficient conversion?