Fix key function description
This commit is contained in:
parent
8dd65e4098
commit
184feee826
1 changed files with 1 additions and 1 deletions
|
@ -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())
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue