1
2
3
4
5
6
7
8
9
10
11
pub mod accounts;
pub mod context;
pub mod docs;
pub mod error;
pub mod program;
pub fn tts_to_string<T: quote::ToTokens>(item: T) -> String {
let mut tts = proc_macro2::TokenStream::new();
item.to_tokens(&mut tts);
tts.to_string()
}