report

Function report 

Source
pub(crate) fn report(
    lint_name: &str,
    lint_res: &Result<LintFnSuccess, LintFnError>,
    elapsed: Duration,
)
Expand description

Format and print the result of a completed lint execution.

ยงRationale

Keeps output formatting separate from orchestration logic in main; enables alternate reporters (JSON, terse) later without threading timing logic everywhere.