Skip to main content

docstring_from_body

Function docstring_from_body 

Source
pub fn docstring_from_body(body: &[Stmt]) -> Option<&ExprStringLiteral>
Expand description

Extract a docstring from a function, module, or class body.