Function synthez_core::parse::attr::doc_string [−][src]
Expand description
Lookups for the standard Rust #[doc]
attributes in the given
syn::Attribute
s and parses their text as String
with a little
normalization.
Errors
- If parsing text from
#[doc]
attribute fails. - If
#[doc]
doesn’t contain text.