Skip to main content

extract_contract_def_string

Function extract_contract_def_string 

Source
fn extract_contract_def_string(attr_str: &str) -> Option<String>
Expand description

Extract the string literal from a #[rapx::def_contract("def ...")] attribute’s textual representation.