1
Fork 0

Fix key function description

This commit is contained in:
Turtel216 2025-03-09 16:29:07 +02:00
parent 8dd65e4098
commit 184feee826

View file

@ -29,7 +29,7 @@ struct LintJson {
}
impl LintJson {
/// Returns a tuple of name and file_line for sorting and comparison.
/// Returns a tuple of name and `file_line` for sorting and comparison.
fn key(&self) -> impl Ord + '_ {
(self.name.as_str(), self.file_line.as_str())
}