pub const fn row(
id: u16,
short: Option<u8>,
long: Option<&'static str>,
arity: Arity,
negatable: bool,
) -> OptionSpecExpand description
What:
const fn is a function the compiler can run while building a const table.
Why:
One short call per row keeps each Git table readable beside the C source.
In TS you’d write (pseudocode):
const row = (id, short, long, arity, negatable): OptionSpec => ({ id, short, long, arity, negatable });