pub fn parse_fn_def(
    par: &mut Parser<'_>,
    pub_qual: Option<Span>
) -> ParseResult<Node<Function>>
Expand description

Parse a function definition. The optional pub qualifier must be parsed by the caller, and passed in. Next token must be unsafe or fn.