pub async fn run(args: &LintDocsArgs, root: &Path) -> Result<Exit>Expand description
One lint-docs invocation.
async for exactly one reason: --staged asks git which documents this
commit touches and what they contain. Every other mode reads files and runs
pure checks with nothing to await.