pub fn format_result<W: Write>(
result: &LintResult,
filename: &str,
format: OutputFormat,
writer: &mut W,
) -> Result<()>Expand description
Format a lint result using the specified output format.
pub fn format_result<W: Write>(
result: &LintResult,
filename: &str,
format: OutputFormat,
writer: &mut W,
) -> Result<()>Format a lint result using the specified output format.