useproc_macro2::{Literal, TokenStream};usequote::quote;/// Functions used by the Abigen to expand functions defined in an ABI spec.
/// Expands a doc string into an attribute token stream.
pubfnexpand_doc(s:&str)-> TokenStream{let doc =Literal::string(s);quote!{#[doc= #doc]}}