pub fn parse_fn_sig(
par: &mut Parser<'_>,
pub_qual: Option<Span>,
) -> ParseResult<Node<FunctionSignature>>
Expand description
Parse a function definition without a body. The optional pub
qualifier
must be parsed by the caller, and passed in. Next token must be unsafe
or
fn
.