Module attr

Source
Expand description

Batteries for parsing a single attribute.

Functionsยง

doc
Lookups for the standard Rust #[doc] attributes in the given syn::Attributes and parses their text as syn::LitStr with a little normalization.
doc_string
Lookups for the standard Rust #[doc] attributes in the given syn::Attributes and parses their text as String with a little normalization.