pub fn parse_for_span(source: &str, span: &Span) -> Option<StdlibMetadata>Expand description
Extract a canonical /** ... */ block immediately above the given
span and parse its metadata fields. Returns the parsed metadata even
if no fields are declared so callers can detect “doc present, fields
missing”.