Skip to main content

run

Function run 

Source
pub fn run(root: impl AsRef<Path>) -> Result<LintReport, String>
Expand description

Run the lint against the crate rooted at root.

If root/src exists, that directory is scanned. Otherwise root is scanned.