Skip to main content

run

Function run 

Source
pub async fn run(args: &LintDocsArgs, root: &Path) -> Result<Exit>
Expand description

One lint-docs invocation.

async for exactly one reason, and it is not concurrency: --staged asks git which documents this commit touches. Every other mode reads files and runs pure checks with nothing to await.