Fix `Message.cmp` (#152)

This commit is contained in:
Harutaka Kawamura 2022-09-11 23:18:27 +09:00 committed by GitHub
parent 989ed9c10b
commit f6628ae100
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -20,7 +20,7 @@ impl Ord for Message {
(&self.filename, self.location.row(), self.location.column()).cmp(&( (&self.filename, self.location.row(), self.location.column()).cmp(&(
&other.filename, &other.filename,
other.location.row(), other.location.row(),
self.location.column(), other.location.column(),
)) ))
} }
} }